Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.cc
--- src/3rdparty/chromium/base/system/sys_info.cc.orig 2020-11-07 01:22:36 UTC | --- src/3rdparty/chromium/base/system/sys_info.cc.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/system/sys_info.cc | +++ src/3rdparty/chromium/base/system/sys_info.cc | ||||
@@ -102,7 +102,7 @@ void SysInfo::GetHardwareInfo(base::OnceCallback<void( | @@ -104,7 +104,7 @@ void SysInfo::GetHardwareInfo(base::OnceCallback<void( | ||||
#elif defined(OS_ANDROID) || defined(OS_MACOSX) | #elif defined(OS_ANDROID) || defined(OS_APPLE) | ||||
base::ThreadPool::PostTaskAndReplyWithResult( | base::ThreadPool::PostTaskAndReplyWithResult( | ||||
FROM_HERE, {}, base::BindOnce(&GetHardwareInfoSync), std::move(callback)); | FROM_HERE, {}, base::BindOnce(&GetHardwareInfoSync), std::move(callback)); | ||||
-#elif defined(OS_LINUX) | -#elif defined(OS_LINUX) || defined(OS_CHROMEOS) | ||||
+#elif defined(OS_LINUX) || defined(OS_BSD) | +#elif defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) | ||||
base::ThreadPool::PostTaskAndReplyWithResult( | base::ThreadPool::PostTaskAndReplyWithResult( | ||||
FROM_HERE, {base::MayBlock()}, base::BindOnce(&GetHardwareInfoSync), | FROM_HERE, {base::MayBlock()}, base::BindOnce(&GetHardwareInfoSync), | ||||
std::move(callback)); | std::move(callback)); |