mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-12 09:37:37 +01:00
725ed88529
- Windows: 10.0.17763.0 SDK is now required. - Mac: 10.13 SDK is now required. - Removed CefRequestContext::ResolveHostCached which is no longer supported by Chromium.
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 f5ed7f0683c5..5b31fb309985 100644
|
|
--- chrome/browser/renderer_preferences_util.cc
|
|
+++ chrome/browser/renderer_preferences_util.cc
|
|
@@ -29,7 +29,8 @@
|
|
#include "ui/base/cocoa/defaults_utils.h"
|
|
#endif
|
|
|
|
-#if defined(USE_AURA) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
|
+#if defined(USE_AURA) && defined(OS_LINUX) && !defined(OS_CHROMEOS) && \
|
|
+ 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"
|
|
@@ -129,7 +130,8 @@ void UpdateFromSystemSettings(blink::mojom::RendererPreferences* prefs,
|
|
prefs->caret_blink_interval = interval;
|
|
#endif
|
|
|
|
-#if defined(USE_AURA) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
|
+#if defined(USE_AURA) && defined(OS_LINUX) && !defined(OS_CHROMEOS) && \
|
|
+ defined(ENABLE_THEMES)
|
|
views::LinuxUI* linux_ui = views::LinuxUI::instance();
|
|
if (linux_ui) {
|
|
if (ThemeServiceFactory::GetForProfile(profile)->UsingSystemTheme()) {
|