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

Unified Diff: Source/WebCore/rendering/RenderLayerBacking.cpp

Issue 13470017: Merge 147389 "Hide non-coordinated scrollbars for Android M26" (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 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/WebCore/platform/ScrollView.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/RenderLayerBacking.cpp
===================================================================
--- Source/WebCore/rendering/RenderLayerBacking.cpp (revision 147451)
+++ Source/WebCore/rendering/RenderLayerBacking.cpp (working copy)
@@ -1041,7 +1041,11 @@
layer->setPosition(hBar->frameRect().location() - offsetFromRoot - offsetFromRenderer);
layer->setSize(hBar->frameRect().size());
}
+#if OS(ANDROID)
+ layer->setDrawsContent(false);
+#else
layer->setDrawsContent(hBar);
+#endif
}
if (GraphicsLayer* layer = layerForVerticalScrollbar()) {
@@ -1050,7 +1054,11 @@
layer->setPosition(vBar->frameRect().location() - offsetFromRoot - offsetFromRenderer);
layer->setSize(vBar->frameRect().size());
}
+#if OS(ANDROID)
+ layer->setDrawsContent(false);
+#else
layer->setDrawsContent(vBar);
+#endif
}
if (GraphicsLayer* layer = layerForScrollCorner()) {
« no previous file with comments | « Source/WebCore/platform/ScrollView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698