Title: [289639] trunk/Source/WebKit
Revision
289639
Author
[email protected]
Date
2022-02-11 11:34:51 -0800 (Fri, 11 Feb 2022)

Log Message

The GPU process should not check in with Launch Services
https://bugs.webkit.org/show_bug.cgi?id=236457

Reviewed by Geoffrey Garen.

Since the GPU process is not an application in the normal sense, there is no need to call _LSApplicationCheckIn.
The function _CSCheckFixDisable should still be called.

* GPUProcess/mac/GPUProcessMac.mm:
(WebKit::GPUProcess::initializeProcess):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (289638 => 289639)


--- trunk/Source/WebKit/ChangeLog	2022-02-11 19:10:35 UTC (rev 289638)
+++ trunk/Source/WebKit/ChangeLog	2022-02-11 19:34:51 UTC (rev 289639)
@@ -1,3 +1,16 @@
+2022-02-11  Per Arne Vollan  <[email protected]>
+
+        The GPU process should not check in with Launch Services
+        https://bugs.webkit.org/show_bug.cgi?id=236457
+
+        Reviewed by Geoffrey Garen.
+
+        Since the GPU process is not an application in the normal sense, there is no need to call _LSApplicationCheckIn.
+        The function _CSCheckFixDisable should still be called.
+
+        * GPUProcess/mac/GPUProcessMac.mm:
+        (WebKit::GPUProcess::initializeProcess):
+
 2022-02-11  Youenn Fablet  <[email protected]>
 
         Support remote video frames in WebRTC video pipeline

Modified: trunk/Source/WebKit/GPUProcess/mac/GPUProcessMac.mm (289638 => 289639)


--- trunk/Source/WebKit/GPUProcess/mac/GPUProcessMac.mm	2022-02-11 19:10:35 UTC (rev 289638)
+++ trunk/Source/WebKit/GPUProcess/mac/GPUProcessMac.mm	2022-02-11 19:34:51 UTC (rev 289639)
@@ -34,6 +34,7 @@
 #import <WebCore/LocalizedStrings.h>
 #import <WebCore/PlatformScreen.h>
 #import <WebCore/ScreenProperties.h>
+#import <pal/spi/cocoa/CoreServicesSPI.h>
 #import <pal/spi/cocoa/LaunchServicesSPI.h>
 #import <sysexits.h>
 #import <wtf/MemoryPressureHandler.h>
@@ -53,7 +54,9 @@
     [userDefaults registerDefaults:@{ @"pluginformatreader_unsigned": @YES }];
 #endif
 
-    launchServicesCheckIn();
+#if HAVE(CSCHECKFIXDISABLE)
+    _CSCheckFixDisable();
+#endif
 }
 
 void GPUProcess::initializeProcessName(const AuxiliaryProcessInitializationParameters& parameters)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to