-
Notifications
You must be signed in to change notification settings - Fork 1.6k
More Cocoa HAVE directives cleanup #47367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
EWS run on previous version of this PR (hash 0f5fe81) |
0f5fe81
to
9bb5443
Compare
EWS run on previous version of this PR (hash 9bb5443) |
@@ -330,10 +330,6 @@ void MediaElementSession::isVisibleInViewportChanged() | |||
RefPtr element = m_element.get(); | |||
if (!element || element->isFullscreen() || element->isVisibleInViewport()) | |||
m_elementIsHiddenUntilVisibleInViewport = false; | |||
|
|||
#if PLATFORM(COCOA) && !HAVE(CGS_FIX_FOR_RADAR_97530095) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be removed when HAVE(CGS_FIX_FOR_RADAR_97530095)
is 0 on Cocoa platforms?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh oops, thank you! I just went by the radar being long since fixed, but I did not mean to introduce a functional change. Let me take that out and perhaps follow-up on it separately at some point.
https://bugs.webkit.org/show_bug.cgi?id=295192 Reviewed by NOBODY (OOPS!). These all appear to be leftovers from a time when they were targeting specific OS versions. * Source/WebCore/page/PageGroup.cpp: PLATFORM(MAC) is redundant with HAVE(MEDIA_ACCESSIBILITY_FRAMEWORK). * Source/WebCore/platform/cocoa/CoreLocationGeolocationProvider.mm: defined(CL_HAS_RADAR_88834301) has been around for long enough now that we don't have to mention it explicitly anymore.
9bb5443
to
f7ed280
Compare
EWS run on current version of this PR (hash f7ed280) |
f7ed280
f7ed280