Changeset 236474 in webkit
- Timestamp:
- Sep 25, 2018, 2:06:31 PM (8 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm (modified) (1 diff)
-
bmalloc/ChangeLog (modified) (1 diff)
-
bmalloc/bmalloc/ProcessCheck.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r236468 r236474 1 2018-09-25 Alex Christensen <achristensen@webkit.org> 2 3 Allow for suffixes to com.apple.WebKit.WebContent 4 https://bugs.webkit.org/show_bug.cgi?id=189972 5 6 Reviewed by Chris Dumez. 7 8 * platform/cocoa/RuntimeApplicationChecksCocoa.mm: 9 (WebCore::isInWebProcess): 10 1 11 2018-09-25 Wenson Hsieh <wenson_hsieh@apple.com> 2 12 -
trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm
r234447 r236474 87 87 bool isInWebProcess() 88 88 { 89 static bool mainBundleIsWebProcess = [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.WebKit.WebContent.Development"] 90 || [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.WebKit.WebContent"] 91 || [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.WebProcess"]; 89 static bool mainBundleIsWebProcess = [[[NSBundle mainBundle] bundleIdentifier] hasPrefix:@"com.apple.WebKit.WebContent"]; 92 90 return mainBundleIsWebProcess; 93 91 } -
trunk/Source/bmalloc/ChangeLog
r236450 r236474 1 2018-09-25 Alex Christensen <achristensen@webkit.org> 2 3 Allow for suffixes to com.apple.WebKit.WebContent 4 https://bugs.webkit.org/show_bug.cgi?id=189972 5 6 Reviewed by Chris Dumez. 7 8 * bmalloc/ProcessCheck.mm: 9 (bmalloc::gigacageEnabledForProcess): 10 1 11 2018-09-24 Fujii Hironori <Hironori.Fujii@sony.com> 2 12 -
trunk/Source/bmalloc/bmalloc/ProcessCheck.mm
r233773 r236474 39 39 NSString *appName = [[NSBundle mainBundle] bundleIdentifier]; 40 40 if (appName) { 41 bool isWebProcess = [appName isEqualToString:@"com.apple.WebKit.WebContent.Development"] 42 || [appName isEqualToString:@"com.apple.WebKit.WebContent"] 43 || [appName isEqualToString:@"com.apple.WebProcess"]; 41 bool isWebProcess = [appName hasPrefix:@"com.apple.WebKit.WebContent"]; 44 42 return isWebProcess; 45 43 }
Note:
See TracChangeset
for help on using the changeset viewer.