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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: Fix logic 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/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index 84f64b1d3bc19c228698baa43e2c857d17b93c23..e6d0ca0144470c1fc16ad5232bdba202f1426bdc 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -545,7 +545,7 @@ void CompositedLayerMapping::
// FIXME: this should use cached clip rects, but this sometimes give
// inaccurate results (and trips the ASSERTS in PaintLayerClipper).
ClipRectsContext clipRectsContext(compositingAncestor, UncachedClipRects,
- IgnoreOverlayScrollbarSize);
+ IgnorePlatformOverlayScrollbarSize);
clipRectsContext.setIgnoreOverflowClip();
LayoutRect unsnappedParentClipRect =
m_owningLayer.clipper(PaintLayer::DoNotUseGeometryMapper)
@@ -1143,7 +1143,7 @@ void CompositedLayerMapping::updateAncestorClippingLayerGeometry(
ClipRectsContext clipRectsContext(compositingContainer,
PaintingClipRectsIgnoringOverflowClip,
- IgnoreOverlayScrollbarSize);
+ IgnorePlatformOverlayScrollbarSize);
IntRect parentClipRect = pixelSnappedIntRect(
m_owningLayer.clipper(PaintLayer::DoNotUseGeometryMapper)
.backgroundClipRect(clipRectsContext)

Powered by Google App Engine
This is Rietveld 408576698