2018-10-24 11:24:11 -07:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-20 17:30:26 -07:00
|
|
|
From: Jeremy Apthorp <nornagon@nornagon.net>
|
|
|
|
Date: Thu, 20 Sep 2018 17:49:34 -0700
|
|
|
|
Subject: mas-lssetapplicationlaunchservicesserverconnectionstatus.patch
|
|
|
|
|
|
|
|
Removes usage of the _LSSetApplicationLaunchServicesServerConnectionStatus
|
|
|
|
private API.
|
|
|
|
|
2018-09-13 22:02:16 -07:00
|
|
|
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
|
2019-09-18 15:58:00 -04:00
|
|
|
index d257830f5943937a634aa85539ad654310579e2c..4373f508964cb1e9fd51c952122ac2f41fb35ae9 100644
|
2018-09-13 22:02:16 -07:00
|
|
|
--- a/content/gpu/gpu_main.cc
|
|
|
|
+++ b/content/gpu/gpu_main.cc
|
2019-08-02 16:56:46 -07:00
|
|
|
@@ -286,8 +286,10 @@ int GpuMain(const MainFunctionParams& parameters) {
|
2019-06-03 20:44:12 -07:00
|
|
|
std::make_unique<base::SingleThreadTaskExecutor>(
|
2019-08-02 16:56:46 -07:00
|
|
|
base::MessagePumpType::NS_RUNLOOP);
|
2018-09-13 22:02:16 -07:00
|
|
|
|
|
|
|
+#ifndef MAS_BUILD
|
|
|
|
// Tell LaunchServices to continue without a connection to the daemon.
|
|
|
|
_LSSetApplicationLaunchServicesServerConnectionStatus(0, nullptr);
|
|
|
|
+#endif
|
|
|
|
#else
|
2019-06-03 20:44:12 -07:00
|
|
|
main_thread_task_executor =
|
|
|
|
std::make_unique<base::SingleThreadTaskExecutor>(
|