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

Unified Diff: webkit/renderer/compositor_bindings/web_compositor_support_impl.cc

Issue 23653017: Remove Android-specific #ifdef in WebCompositorSupportImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/renderer/compositor_bindings/web_compositor_support_impl.cc
diff --git a/webkit/renderer/compositor_bindings/web_compositor_support_impl.cc b/webkit/renderer/compositor_bindings/web_compositor_support_impl.cc
index b1dd837fa7797c352fb4b9cfd13505a633625092..f80c28b1a954ffdf51f8f7422d7f16f039cd0ab8 100644
--- a/webkit/renderer/compositor_bindings/web_compositor_support_impl.cc
+++ b/webkit/renderer/compositor_bindings/web_compositor_support_impl.cc
@@ -78,15 +78,7 @@ WebScrollbarLayer* WebCompositorSupportImpl::createScrollbarLayer(
WebScrollbar* scrollbar,
WebScrollbarThemePainter painter,
WebScrollbarThemeGeometry* geometry) {
-// TODO(wjmaclean) Remove the Android-specific if-clause here once the
-// Blink-side changes are made to call createSolidColorScrollbarLayer()
-// directly.
-#if defined(OS_ANDROID)
- const int kThumbThickness = 3;
- return new WebScrollbarLayerImpl(scrollbar->orientation(), kThumbThickness);
-#else
return new WebScrollbarLayerImpl(scrollbar, painter, geometry);
-#endif
}
WebScrollbarLayer* WebCompositorSupportImpl::createSolidColorScrollbarLayer(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698