Changeset 205420 in webkit
- Timestamp:
- Sep 4, 2016 11:11:57 AM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r205418 r205420 1 2016-09-04 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Wrapping XPC service execution in os_activity is no longer needed 4 https://bugs.webkit.org/show_bug.cgi?id=161577 5 6 Reviewed by Sam Weinig. 7 8 Removed code that created an os_activity around the execution of the XPC service 9 code, because this workaround is no longer needed. 10 11 * DatabaseProcess/EntryPoint/mac/XPCService/DatabaseServiceEntryPoint.mm: 12 (DatabaseServiceInitializer): 13 * NetworkProcess/EntryPoint/mac/XPCService/NetworkServiceEntryPoint.mm: 14 (NetworkServiceInitializer): 15 * PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm: 16 (PluginServiceInitializer): 17 * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm: 18 (WebContentServiceInitializer): 19 1 20 2016-09-04 Commit Queue <commit-queue@webkit.org> 2 21 -
trunk/Source/WebKit2/DatabaseProcess/EntryPoint/mac/XPCService/DatabaseServiceEntryPoint.mm
r202723 r205420 31 31 #import "XPCServiceEntryPoint.h" 32 32 33 #if HAVE(OS_ACTIVITY)34 #include <os/activity.h>35 #endif36 37 33 using namespace WebKit; 38 34 … … 41 37 void DatabaseServiceInitializer(xpc_connection_t connection, xpc_object_t initializerMessage, xpc_object_t priorityBoostMessage) 42 38 { 43 #if HAVE(OS_ACTIVITY)44 #pragma clang diagnostic push45 #pragma clang diagnostic ignored "-Wdeprecated-declarations"46 os_activity_t activity = os_activity_start("com.apple.WebKit.Databases", OS_ACTIVITY_FLAG_DEFAULT);47 #pragma clang diagnostic pop48 #endif49 50 39 XPCServiceInitializer<DatabaseProcess, XPCServiceInitializerDelegate>(adoptOSObject(connection), initializerMessage, priorityBoostMessage); 51 52 #if HAVE(OS_ACTIVITY)53 #pragma clang diagnostic push54 #pragma clang diagnostic ignored "-Wdeprecated-declarations"55 os_activity_end(activity);56 #pragma clang diagnostic pop57 #endif58 40 } -
trunk/Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkServiceEntryPoint.mm
r202723 r205420 31 31 #import "XPCServiceEntryPoint.h" 32 32 33 #if HAVE(OS_ACTIVITY)34 #include <os/activity.h>35 #endif36 37 33 namespace WebKit { 38 34 … … 56 52 // the this process don't try to insert the shim and crash. 57 53 EnvironmentUtilities::stripValuesEndingWithString("DYLD_INSERT_LIBRARIES", "/SecItemShim.dylib"); 58 59 #if HAVE(OS_ACTIVITY)60 #pragma clang diagnostic push61 #pragma clang diagnostic ignored "-Wdeprecated-declarations"62 os_activity_t activity = os_activity_start("com.apple.WebKit.Networking", OS_ACTIVITY_FLAG_DEFAULT);63 #pragma clang diagnostic pop64 #endif65 66 54 XPCServiceInitializer<NetworkProcess, NetworkServiceInitializerDelegate>(adoptOSObject(connection), initializerMessage, priorityBoostMessage); 67 68 #if HAVE(OS_ACTIVITY)69 #pragma clang diagnostic push70 #pragma clang diagnostic ignored "-Wdeprecated-declarations"71 os_activity_end(activity);72 #pragma clang diagnostic pop73 #endif74 55 } -
trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm
r202723 r205420 31 31 #import "XPCServiceEntryPoint.h" 32 32 #import <wtf/RunLoop.h> 33 34 #if HAVE(OS_ACTIVITY)35 #include <os/activity.h>36 #endif37 33 38 34 #if ENABLE(NETSCAPE_PLUGIN_API) … … 80 76 // spawned by the PluginProcess don't try to insert the shim and crash. 81 77 EnvironmentUtilities::stripValuesEndingWithString("DYLD_INSERT_LIBRARIES", "/PluginProcessShim.dylib"); 82 83 #if HAVE(OS_ACTIVITY)84 #pragma clang diagnostic push85 #pragma clang diagnostic ignored "-Wdeprecated-declarations"86 os_activity_t activity = os_activity_start("com.apple.WebKit.Plugin", OS_ACTIVITY_FLAG_DEFAULT);87 #pragma clang diagnostic pop88 #endif89 90 78 XPCServiceInitializer<PluginProcess, PluginServiceInitializerDelegate>(adoptOSObject(connection), initializerMessage, priorityBoostMessage); 91 92 #if HAVE(OS_ACTIVITY)93 #pragma clang diagnostic push94 #pragma clang diagnostic ignored "-Wdeprecated-declarations"95 os_activity_end(activity);96 #pragma clang diagnostic pop97 #endif98 79 #endif // ENABLE(NETSCAPE_PLUGIN_API) 99 80 } -
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm
r204466 r205420 36 36 #endif 37 37 38 #if HAVE(OS_ACTIVITY)39 #include <os/activity.h>40 #endif41 42 38 using namespace WebCore; 43 39 using namespace WebKit; … … 51 47 EnvironmentUtilities::stripValuesEndingWithString("DYLD_INSERT_LIBRARIES", "/WebProcessShim.dylib"); 52 48 53 #if HAVE(OS_ACTIVITY)54 #pragma clang diagnostic push55 #pragma clang diagnostic ignored "-Wdeprecated-declarations"56 os_activity_t activity = os_activity_start("com.apple.WebKit.WebContent", OS_ACTIVITY_FLAG_DEFAULT);57 #pragma clang diagnostic pop58 #endif59 60 49 #if PLATFORM(IOS) 61 50 GSInitialize(); … … 64 53 65 54 XPCServiceInitializer<WebProcess, XPCServiceInitializerDelegate>(adoptOSObject(connection), initializerMessage, priorityBoostMessage); 66 67 #if HAVE(OS_ACTIVITY)68 #pragma clang diagnostic push69 #pragma clang diagnostic ignored "-Wdeprecated-declarations"70 os_activity_end(activity);71 #pragma clang diagnostic pop72 #endif73 55 }
Note: See TracChangeset
for help on using the changeset viewer.