Title: [262866] trunk/Source/WebKit
Revision
262866
Author
ddkil...@apple.com
Date
2020-06-10 15:37:53 -0700 (Wed, 10 Jun 2020)

Log Message

REGRESSION (r262858): Fix macOS build when building EndowmentStateTracker.mm

* UIProcess/EndowmentStateTracker.mm:
- Move #if PLATFORM(IOS_FAMILY) to fix macOS build.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (262865 => 262866)


--- trunk/Source/WebKit/ChangeLog	2020-06-10 22:34:33 UTC (rev 262865)
+++ trunk/Source/WebKit/ChangeLog	2020-06-10 22:37:53 UTC (rev 262866)
@@ -1,3 +1,10 @@
+2020-06-10  David Kilzer  <ddkil...@apple.com>
+
+        REGRESSION (r262858): Fix macOS build when building EndowmentStateTracker.mm
+
+        * UIProcess/EndowmentStateTracker.mm:
+        - Move #if PLATFORM(IOS_FAMILY) to fix macOS build.
+
 2020-06-10  Per Arne Vollan  <pvol...@apple.com>
 
         [Cocoa] Return early from preference change notification handler if there is no observer

Modified: trunk/Source/WebKit/UIProcess/EndowmentStateTracker.mm (262865 => 262866)


--- trunk/Source/WebKit/UIProcess/EndowmentStateTracker.mm	2020-06-10 22:34:33 UTC (rev 262865)
+++ trunk/Source/WebKit/UIProcess/EndowmentStateTracker.mm	2020-06-10 22:37:53 UTC (rev 262866)
@@ -26,12 +26,12 @@
 #include "config.h"
 #include "EndowmentStateTracker.h"
 
+#if PLATFORM(IOS_FAMILY)
+
 #import "Logging.h"
 #import "RunningBoardServicesSPI.h"
 #include <wtf/NeverDestroyed.h>
 
-#if PLATFORM(IOS_FAMILY)
-
 namespace WebKit {
 
 static NSString* visibilityEndowment = @"com.apple.frontboard.visibility";
@@ -150,4 +150,4 @@
 
 }
 
-#endif
+#endif // PLATFORM(IOS_FAMILY)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to