mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-12 09:37:37 +01:00
74db00fc89
- Linux ARM builds require use_vaapi=false (see https://crbug.com/1185348) - Windows official builds require use_thin_lto=false (see https://crbug.com/1177001)
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
diff --git chrome/browser/renderer_preferences_util.cc chrome/browser/renderer_preferences_util.cc
|
|
index 794160f870d4..9caa8b6df341 100644
|
|
--- chrome/browser/renderer_preferences_util.cc
|
|
+++ chrome/browser/renderer_preferences_util.cc
|
|
@@ -38,7 +38,8 @@
|
|
#include "ui/base/cocoa/defaults_utils.h"
|
|
#endif
|
|
|
|
-#if defined(USE_AURA) && (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
|
|
+#if defined(USE_AURA) && (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \
|
|
+ defined(ENABLE_THEMES)
|
|
#include "chrome/browser/themes/theme_service.h"
|
|
#include "chrome/browser/themes/theme_service_factory.h"
|
|
#include "ui/views/linux_ui/linux_ui.h"
|
|
@@ -167,7 +168,8 @@ void UpdateFromSystemSettings(blink::RendererPreferences* prefs,
|
|
prefs->caret_blink_interval = interval;
|
|
#endif
|
|
|
|
-#if defined(USE_AURA) && (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
|
|
+#if defined(USE_AURA) && (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \
|
|
+ defined(ENABLE_THEMES)
|
|
views::LinuxUI* linux_ui = views::LinuxUI::instance();
|
|
if (linux_ui) {
|
|
if (ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme()) {
|