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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: Add OverlayScrollbarClipBehavior value Created 3 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
Index: third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
index 8e234784b9e35c2199feb46c87fbe92891cf03b0..659b6d71596e9bc1cb7ba5635cb13a217b472657 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
@@ -587,7 +587,8 @@ ClipRects& PaintLayerClipper::paintingClipRects(
const LayoutSize& subpixelAccumulation) const {
DCHECK(!m_geometryMapper);
ClipRectsContext context(rootLayer, PaintingClipRects,
- IgnoreOverlayScrollbarSize, subpixelAccumulation);
+ IgnorePlatformOverlayScrollbarSize,
+ subpixelAccumulation);
if (respectOverflowClip == IgnoreOverflowClip)
context.setIgnoreOverflowClip();
return getClipRects(context);

Powered by Google App Engine
This is Rietveld 408576698