Title: [281783] trunk/Source/WebCore
Revision
281783
Author
[email protected]
Date
2021-08-30 16:07:05 -0700 (Mon, 30 Aug 2021)

Log Message

Fix include guards in PlatformScreenMac.mm
https://bugs.webkit.org/show_bug.cgi?id=229430

Reviewed by Alex Christensen.

The include guards should refer to the file they're including.

* platform/mac/PlatformScreenMac.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (281782 => 281783)


--- trunk/Source/WebCore/ChangeLog	2021-08-30 22:50:23 UTC (rev 281782)
+++ trunk/Source/WebCore/ChangeLog	2021-08-30 23:07:05 UTC (rev 281783)
@@ -1,3 +1,14 @@
+2021-08-30  Jer Noble  <[email protected]>
+
+        Fix include guards in PlatformScreenMac.mm
+        https://bugs.webkit.org/show_bug.cgi?id=229430
+
+        Reviewed by Alex Christensen.
+
+        The include guards should refer to the file they're including.
+
+        * platform/mac/PlatformScreenMac.mm:
+
 2021-08-30  Alex Christensen  <[email protected]>
 
         WKWebViewConfiguration._loadsSubresources=NO should prevent preconnecting

Modified: trunk/Source/WebCore/platform/mac/PlatformScreenMac.mm (281782 => 281783)


--- trunk/Source/WebCore/platform/mac/PlatformScreenMac.mm	2021-08-30 22:50:23 UTC (rev 281782)
+++ trunk/Source/WebCore/platform/mac/PlatformScreenMac.mm	2021-08-30 23:07:05 UTC (rev 281783)
@@ -44,7 +44,7 @@
 #import <pal/cocoa/MediaToolboxSoftLink.h>
 #endif
 
-#if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/PlatformScreenIOS.mm>)
+#if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/PlatformScreenMac.h>)
 #import <WebKitAdditions/PlatformScreenMac.h>
 #endif
 
@@ -419,7 +419,7 @@
     return flippedPoint;
 }
 
-#if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/PlatformScreenIOS.mm>)
+#if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/PlatformScreenMac.mm>)
 #import <WebKitAdditions/PlatformScreenMac.mm>
 #else
 FloatRect screenRectAvoidingMenuBar(NSScreen* screen)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to