Title: [243253] trunk/Source/WebKit
Revision
243253
Author
[email protected]
Date
2019-03-20 16:24:53 -0700 (Wed, 20 Mar 2019)

Log Message

Update checks that determine if WebKit is system WebKit
https://bugs.webkit.org/show_bug.cgi?id=195756

Unreviewed tweak of r243251 after unreviewed build fix after r243230.

* Shared/mac/AuxiliaryProcessMac.mm:
(WebKit::AuxiliaryProcess::isSystemWebKit):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (243252 => 243253)


--- trunk/Source/WebKit/ChangeLog	2019-03-20 23:15:04 UTC (rev 243252)
+++ trunk/Source/WebKit/ChangeLog	2019-03-20 23:24:53 UTC (rev 243253)
@@ -3,6 +3,16 @@
         Update checks that determine if WebKit is system WebKit
         https://bugs.webkit.org/show_bug.cgi?id=195756
 
+        Unreviewed tweak of r243251 after unreviewed build fix after r243230.
+
+        * Shared/mac/AuxiliaryProcessMac.mm:
+        (WebKit::AuxiliaryProcess::isSystemWebKit):
+
+2019-03-20  Keith Rollin  <[email protected]>
+
+        Update checks that determine if WebKit is system WebKit
+        https://bugs.webkit.org/show_bug.cgi?id=195756
+
         Unreviewed build fix after r243230.
 
         * Shared/mac/AuxiliaryProcessMac.mm:

Modified: trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm (243252 => 243253)


--- trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm	2019-03-20 23:15:04 UTC (rev 243252)
+++ trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm	2019-03-20 23:24:53 UTC (rev 243253)
@@ -718,10 +718,10 @@
 #if PLATFORM(MAC)
 bool AuxiliaryProcess::isSystemWebKit()
 {
-    static bool isSystemWebKit = [] {
+    static bool isSystemWebKit = []() -> bool {
 #if HAVE(ALTERNATE_SYSTEM_LAYOUT)
         if ([[webKit2Bundle() bundlePath] hasPrefix:@"/Library/Apple/System/"])
-            return YES;
+            return true;
 #endif
         return [[webKit2Bundle() bundlePath] hasPrefix:@"/System/"];
     }();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to