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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 2453553003: Disable overlay scrollbars in Blink when hidden by the compositor. (Closed)
Patch Set: Rebase Created 4 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
Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index 91b905723d5f809d5f5b48f8112aa01c4b64aeba..4e1053ee3d1a7108222689c7fb45bb0ec4c51d73 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -1163,6 +1163,11 @@ void GraphicsLayer::didUpdateMainThreadScrollingReasons() {
platformLayer()->mainThreadScrollingReasons());
}
+void GraphicsLayer::didChangeScrollbarsHidden(bool hidden) {
+ if (m_scrollableArea)
+ m_scrollableArea->setScrollbarsHidden(hidden);
+}
+
PaintController& GraphicsLayer::getPaintController() {
RELEASE_ASSERT(drawsContent());
if (!m_paintController)

Powered by Google App Engine
This is Rietveld 408576698