Changeset 248862 in webkit
- Timestamp:
- Aug 19, 2019, 1:56:08 PM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r248861 r248862 1 2019-08-19 Alex Christensen <achristensen@webkit.org> 2 3 Move call to initializeMainThread introduced in r248549 to after WebKit.framework has been loaded 4 https://bugs.webkit.org/show_bug.cgi?id=200896 5 <rdar://problem/54479065> 6 7 Reviewed by Chris Dumez. 8 9 In XPCServiceMain we haven't been told which WebKit.framework to load yet, so when using staged frameworks it 10 causes problems if we call a function from a WebKit framework. We need to wait until after initializerFunctionPtr is called. 11 12 * NetworkProcess/EntryPoint/Cocoa/XPCService/NetworkServiceEntryPoint.mm: 13 (NetworkServiceInitializer): 14 * PluginProcess/EntryPoint/Cocoa/XPCService/PluginServiceEntryPoint.mm: 15 (PluginServiceInitializer): 16 * Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm: 17 (WebKit::XPCServiceMain): 18 * WebProcess/EntryPoint/Cocoa/XPCService/WebContentServiceEntryPoint.mm: 19 (WebContentServiceInitializer): 20 1 21 2019-08-19 Yusuke Suzuki <ysuzuki@apple.com> 2 22 -
trunk/Source/WebKit/NetworkProcess/EntryPoint/Cocoa/XPCService/NetworkServiceEntryPoint.mm
r242292 r248862 55 55 void NetworkServiceInitializer(xpc_connection_t connection, xpc_object_t initializerMessage, xpc_object_t priorityBoostMessage) 56 56 { 57 WTF::initializeMainThread(); 58 57 59 // Remove the SecItemShim from the DYLD_INSERT_LIBRARIES environment variable so any processes spawned by 58 60 // the this process don't try to insert the shim and crash. -
trunk/Source/WebKit/PluginProcess/EntryPoint/Cocoa/XPCService/PluginServiceEntryPoint.mm
r242292 r248862 75 75 { 76 76 #if ENABLE(NETSCAPE_PLUGIN_API) 77 WTF::initializeMainThread(); 78 77 79 // FIXME: Add support for teardown from PluginProcessMain.mm 78 80 -
trunk/Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm
r248549 r248862 145 145 #endif 146 146 147 WTF::initializeMainThread();148 149 147 xpc_main(XPCServiceEventHandler); 150 148 return 0; -
trunk/Source/WebKit/WebProcess/EntryPoint/Cocoa/XPCService/WebContentServiceEntryPoint.mm
r242292 r248862 40 40 void WebContentServiceInitializer(xpc_connection_t connection, xpc_object_t initializerMessage, xpc_object_t priorityBoostMessage) 41 41 { 42 WTF::initializeMainThread(); 43 42 44 // Remove the WebProcessShim from the DYLD_INSERT_LIBRARIES environment variable so any processes spawned by 43 45 // the this process don't try to insert the shim and crash.
Note:
See TracChangeset
for help on using the changeset viewer.