Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index b045f2ecf2752308d38772f6df28142cd2a3c82f..8ff7d1eab8a74ff765a457ed01de98bbcb7af28f 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -123,6 +123,7 @@ |
#include "third_party/WebKit/public/platform/WebURLRequest.h" |
#include "third_party/WebKit/public/platform/WebURLResponse.h" |
#include "third_party/WebKit/public/platform/WebVector.h" |
+#include "third_party/WebKit/public/public_features.h" |
#include "third_party/WebKit/public/web/WebAXObject.h" |
#include "third_party/WebKit/public/web/WebColorSuggestion.h" |
#include "third_party/WebKit/public/web/WebDOMEvent.h" |
@@ -2213,7 +2214,7 @@ void RenderViewImpl::OnSetRendererPrefs( |
UpdateThemePrefs(); |
blink::setCaretBlinkInterval(renderer_prefs.caret_blink_interval); |
-#if defined(USE_DEFAULT_RENDER_THEME) |
+#if BUILDFLAG(USE_DEFAULT_RENDER_THEME) |
if (renderer_prefs.use_custom_colors) { |
blink::setFocusRingColor(renderer_prefs.focus_ring_color); |
@@ -2226,7 +2227,7 @@ void RenderViewImpl::OnSetRendererPrefs( |
webview()->themeChanged(); |
} |
} |
-#endif // defined(USE_DEFAULT_RENDER_THEME) |
+#endif // BUILDFLAG(USE_DEFAULT_RENDER_THEME) |
if (webview() && |
old_accept_languages != renderer_preferences_.accept_languages) { |