Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1687)

Unified Diff: Source/web/WebViewImpl.cpp

Issue 17279002: Remove PlatformThemeChromiumDefault as it is dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove PlatformThemeChromiumDefault as it is dead code Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/platform/chromium/PlatformThemeChromiumDefault.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index eda4782190a3482c596cdfc85284700a527e8186..58b19415425e9d75af7eba5431d47c3bd21a524d 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -166,7 +166,6 @@
#include "wtf/Uint8ClampedArray.h"
#if USE(DEFAULT_RENDER_THEME)
-#include "core/platform/chromium/PlatformThemeChromiumDefault.h"
#include "core/rendering/RenderThemeChromiumDefault.h"
#endif
@@ -3581,12 +3580,10 @@ void WebViewImpl::setWindowFeatures(const WebWindowFeatures& features)
m_page->chrome().setWindowFeatures(features);
}
+// FIXME: remove this api. See: https://codereview.chromium.org/17279002/.
void WebViewImpl::setScrollbarColors(unsigned inactiveColor,
unsigned activeColor,
unsigned trackColor) {
-#if USE(DEFAULT_RENDER_THEME)
- PlatformThemeChromiumDefault::setScrollbarColors(inactiveColor, activeColor, trackColor);
-#endif
}
void WebViewImpl::setSelectionColors(unsigned activeBackgroundColor,
« no previous file with comments | « Source/core/platform/chromium/PlatformThemeChromiumDefault.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698