| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 189fd7a8e9bed60d232afdc61cc90fc78e3a46ec..b1d7bf857aa358c90f1df54b87ca8b2fd7d3b1fa 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -165,13 +165,13 @@
|
| #include "weborigin/SecurityPolicy.h"
|
| #include "painting/ContinuousPainter.h"
|
|
|
| -#if ENABLE(DEFAULT_RENDER_THEME)
|
| +#if USE(DEFAULT_RENDER_THEME)
|
| #include "core/platform/chromium/PlatformThemeChromiumDefault.h"
|
| #include "core/rendering/RenderThemeChromiumDefault.h"
|
| #endif
|
|
|
| #if OS(WIN)
|
| -#if !ENABLE(DEFAULT_RENDER_THEME)
|
| +#if !USE(DEFAULT_RENDER_THEME)
|
| #include "core/rendering/RenderThemeChromiumWin.h"
|
| #endif
|
| #else
|
| @@ -3600,7 +3600,7 @@ void WebViewImpl::setWindowFeatures(const WebWindowFeatures& features)
|
| void WebViewImpl::setScrollbarColors(unsigned inactiveColor,
|
| unsigned activeColor,
|
| unsigned trackColor) {
|
| -#if ENABLE(DEFAULT_RENDER_THEME)
|
| +#if USE(DEFAULT_RENDER_THEME)
|
| PlatformThemeChromiumDefault::setScrollbarColors(inactiveColor, activeColor, trackColor);
|
| #endif
|
| }
|
| @@ -3609,7 +3609,7 @@ void WebViewImpl::setSelectionColors(unsigned activeBackgroundColor,
|
| unsigned activeForegroundColor,
|
| unsigned inactiveBackgroundColor,
|
| unsigned inactiveForegroundColor) {
|
| -#if ENABLE(DEFAULT_RENDER_THEME)
|
| +#if USE(DEFAULT_RENDER_THEME)
|
| RenderThemeChromiumDefault::setSelectionColors(activeBackgroundColor, activeForegroundColor, inactiveBackgroundColor, inactiveForegroundColor);
|
| RenderTheme::theme().platformColorsDidChange();
|
| #endif
|
|
|