2018-10-24 18:24:11 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-21 00:30:26 +00: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-14 05:02:16 +00:00
|
|
|
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
|
2019-07-03 21:48:55 +00:00
|
|
|
index 5433738c34d60f07d17567a24448f9147bf18adc..877495568fddbc7dae5835ead41faf37be77208a 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/content/gpu/gpu_main.cc
|
|
|
|
+++ b/content/gpu/gpu_main.cc
|
2019-07-03 01:22:09 +00:00
|
|
|
@@ -285,8 +285,10 @@ int GpuMain(const MainFunctionParams& parameters) {
|
2019-06-04 03:44:12 +00:00
|
|
|
std::make_unique<base::SingleThreadTaskExecutor>(
|
|
|
|
base::MessagePump::Type::NS_RUNLOOP);
|
2018-09-14 05:02:16 +00:00
|
|
|
|
|
|
|
+#ifndef MAS_BUILD
|
|
|
|
// Tell LaunchServices to continue without a connection to the daemon.
|
|
|
|
_LSSetApplicationLaunchServicesServerConnectionStatus(0, nullptr);
|
|
|
|
+#endif
|
|
|
|
#else
|
2019-06-04 03:44:12 +00:00
|
|
|
main_thread_task_executor =
|
|
|
|
std::make_unique<base::SingleThreadTaskExecutor>(
|