Title: [236474] trunk/Source
- Revision
- 236474
- Author
- achristen...@apple.com
- Date
- 2018-09-25 14:06:31 -0700 (Tue, 25 Sep 2018)
Log Message
Allow for suffixes to com.apple.WebKit.WebContent
https://bugs.webkit.org/show_bug.cgi?id=189972
Reviewed by Chris Dumez.
Source/bmalloc:
* bmalloc/ProcessCheck.mm:
(bmalloc::gigacageEnabledForProcess):
Source/WebCore:
* platform/cocoa/RuntimeApplicationChecksCocoa.mm:
(WebCore::isInWebProcess):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (236473 => 236474)
--- trunk/Source/WebCore/ChangeLog 2018-09-25 21:04:03 UTC (rev 236473)
+++ trunk/Source/WebCore/ChangeLog 2018-09-25 21:06:31 UTC (rev 236474)
@@ -1,3 +1,13 @@
+2018-09-25 Alex Christensen <achristen...@webkit.org>
+
+ Allow for suffixes to com.apple.WebKit.WebContent
+ https://bugs.webkit.org/show_bug.cgi?id=189972
+
+ Reviewed by Chris Dumez.
+
+ * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
+ (WebCore::isInWebProcess):
+
2018-09-25 Wenson Hsieh <wenson_hs...@apple.com>
[iOS] Fix the open source iOS 12 build after r236445
Modified: trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (236473 => 236474)
--- trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm 2018-09-25 21:04:03 UTC (rev 236473)
+++ trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm 2018-09-25 21:06:31 UTC (rev 236474)
@@ -86,9 +86,7 @@
bool isInWebProcess()
{
- static bool mainBundleIsWebProcess = [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.WebKit.WebContent.Development"]
- || [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.WebKit.WebContent"]
- || [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.WebProcess"];
+ static bool mainBundleIsWebProcess = [[[NSBundle mainBundle] bundleIdentifier] hasPrefix:@"com.apple.WebKit.WebContent"];
return mainBundleIsWebProcess;
}
Modified: trunk/Source/bmalloc/ChangeLog (236473 => 236474)
--- trunk/Source/bmalloc/ChangeLog 2018-09-25 21:04:03 UTC (rev 236473)
+++ trunk/Source/bmalloc/ChangeLog 2018-09-25 21:06:31 UTC (rev 236474)
@@ -1,3 +1,13 @@
+2018-09-25 Alex Christensen <achristen...@webkit.org>
+
+ Allow for suffixes to com.apple.WebKit.WebContent
+ https://bugs.webkit.org/show_bug.cgi?id=189972
+
+ Reviewed by Chris Dumez.
+
+ * bmalloc/ProcessCheck.mm:
+ (bmalloc::gigacageEnabledForProcess):
+
2018-09-24 Fujii Hironori <hironori.fu...@sony.com>
Rename WTF_COMPILER_GCC_OR_CLANG to WTF_COMPILER_GCC_COMPATIBLE
Modified: trunk/Source/bmalloc/bmalloc/ProcessCheck.mm (236473 => 236474)
--- trunk/Source/bmalloc/bmalloc/ProcessCheck.mm 2018-09-25 21:04:03 UTC (rev 236473)
+++ trunk/Source/bmalloc/bmalloc/ProcessCheck.mm 2018-09-25 21:06:31 UTC (rev 236474)
@@ -38,9 +38,7 @@
NSString *appName = [[NSBundle mainBundle] bundleIdentifier];
if (appName) {
- bool isWebProcess = [appName isEqualToString:@"com.apple.WebKit.WebContent.Development"]
- || [appName isEqualToString:@"com.apple.WebKit.WebContent"]
- || [appName isEqualToString:@"com.apple.WebProcess"];
+ bool isWebProcess = [appName hasPrefix:@"com.apple.WebKit.WebContent"];
return isWebProcess;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes