Title: [258737] trunk/Source
Revision
258737
Author
timothy_hor...@apple.com
Date
2020-03-19 15:50:16 -0700 (Thu, 19 Mar 2020)

Log Message

Upstream the definition of HAVE_READ_ONLY_SYSTEM_VOLUME
https://bugs.webkit.org/show_bug.cgi?id=209305

Reviewed by Andy Estes.

Source/WebCore:

* platform/mac/BlacklistUpdater.mm:

Source/WebKit:

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

Source/WTF:

* wtf/PlatformHave.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (258736 => 258737)


--- trunk/Source/WTF/ChangeLog	2020-03-19 22:44:56 UTC (rev 258736)
+++ trunk/Source/WTF/ChangeLog	2020-03-19 22:50:16 UTC (rev 258737)
@@ -1,5 +1,14 @@
 2020-03-19  Tim Horton  <timothy_hor...@apple.com>
 
+        Upstream the definition of HAVE_READ_ONLY_SYSTEM_VOLUME
+        https://bugs.webkit.org/show_bug.cgi?id=209305
+
+        Reviewed by Andy Estes.
+
+        * wtf/PlatformHave.h:
+
+2020-03-19  Tim Horton  <timothy_hor...@apple.com>
+
         Implement support for cursor interactions on iPad
         https://bugs.webkit.org/show_bug.cgi?id=209268
 

Modified: trunk/Source/WTF/wtf/PlatformHave.h (258736 => 258737)


--- trunk/Source/WTF/wtf/PlatformHave.h	2020-03-19 22:44:56 UTC (rev 258736)
+++ trunk/Source/WTF/wtf/PlatformHave.h	2020-03-19 22:50:16 UTC (rev 258737)
@@ -391,6 +391,10 @@
 #define HAVE_CA_WHERE_ADDITIVE_TRANSFORMS_ARE_REVERSED 1
 #endif
 
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
+#define HAVE_READ_ONLY_SYSTEM_VOLUME 1
+#endif
+
 #ifdef __APPLE__
 #define HAVE_FUNC_USLEEP 1
 #endif

Modified: trunk/Source/WebCore/ChangeLog (258736 => 258737)


--- trunk/Source/WebCore/ChangeLog	2020-03-19 22:44:56 UTC (rev 258736)
+++ trunk/Source/WebCore/ChangeLog	2020-03-19 22:50:16 UTC (rev 258737)
@@ -1,3 +1,12 @@
+2020-03-19  Tim Horton  <timothy_hor...@apple.com>
+
+        Upstream the definition of HAVE_READ_ONLY_SYSTEM_VOLUME
+        https://bugs.webkit.org/show_bug.cgi?id=209305
+
+        Reviewed by Andy Estes.
+
+        * platform/mac/BlacklistUpdater.mm:
+
 2020-03-19  Javier Fernandez  <jfernan...@igalia.com>
 
         [css-grid] Changes in grid or elements inside the grid affects margin on other elements in the grid

Modified: trunk/Source/WebCore/platform/mac/BlacklistUpdater.mm (258736 => 258737)


--- trunk/Source/WebCore/platform/mac/BlacklistUpdater.mm	2020-03-19 22:44:56 UTC (rev 258736)
+++ trunk/Source/WebCore/platform/mac/BlacklistUpdater.mm	2020-03-19 22:50:16 UTC (rev 258737)
@@ -43,7 +43,7 @@
 // The time when we last re-parsed the blacklist file.
 static time_t blacklistUpdateTime;
 
-#if HAVE(ALTERNATE_SYSTEM_LAYOUT)
+#if HAVE(READ_ONLY_SYSTEM_VOLUME)
 NSString * const blacklistPath = @"/Library/Apple/System/Library/CoreServices/XProtect.bundle/Contents/Resources/XProtect.meta.plist";
 #else
 NSString * const blacklistPath = @"/System/Library/CoreServices/XProtect.bundle/Contents/Resources/XProtect.meta.plist";

Modified: trunk/Source/WebKit/ChangeLog (258736 => 258737)


--- trunk/Source/WebKit/ChangeLog	2020-03-19 22:44:56 UTC (rev 258736)
+++ trunk/Source/WebKit/ChangeLog	2020-03-19 22:50:16 UTC (rev 258737)
@@ -1,3 +1,13 @@
+2020-03-19  Tim Horton  <timothy_hor...@apple.com>
+
+        Upstream the definition of HAVE_READ_ONLY_SYSTEM_VOLUME
+        https://bugs.webkit.org/show_bug.cgi?id=209305
+
+        Reviewed by Andy Estes.
+
+        * Shared/mac/AuxiliaryProcessMac.mm:
+        (WebKit::AuxiliaryProcess::isSystemWebKit):
+
 2020-03-19  Brent Fulgham  <bfulg...@apple.com>
 
         Remove Mobile Asset access from the WebContent process

Modified: trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm (258736 => 258737)


--- trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm	2020-03-19 22:44:56 UTC (rev 258736)
+++ trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm	2020-03-19 22:50:16 UTC (rev 258737)
@@ -718,7 +718,7 @@
 bool AuxiliaryProcess::isSystemWebKit()
 {
     static bool isSystemWebKit = []() -> bool {
-#if HAVE(ALTERNATE_SYSTEM_LAYOUT)
+#if HAVE(READ_ONLY_SYSTEM_VOLUME)
         if ([[webKit2Bundle() bundlePath] hasPrefix:@"/Library/Apple/System/"])
             return true;
 #endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to