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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h

Issue 1626623002: Skip PaintPhaseDescendantBlockBackgroundsOnly phase if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FloatPhase
Patch Set: Rebase Created 4 years, 11 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/core/paint/PaintLayerScrollableArea.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
index c32b98b78bb232b7dc880a7b78cb120027768074..7f84745713c9dbd03b312256d98a6dbcabb33ad3 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
@@ -260,6 +260,7 @@ public:
bool updateAfterCompositingChange() override;
bool hasScrollbar() const { return hasHorizontalScrollbar() || hasVerticalScrollbar(); }
+ bool hasOverflowControls() const { return hasScrollbar() || scrollCorner() || resizer(); }
LayoutScrollbarPart* scrollCorner() const override { return m_scrollCorner; }

Powered by Google App Engine
This is Rietveld 408576698