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

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

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: rebase 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/PaintLayerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
index 9fc2b4dc3a4755b3684f3eca47c19bb7872e786d..aa63b15fee9840d7b799655f02dc440f1be828e7 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -450,23 +450,23 @@ PaintResult PaintLayerPainter::paintLayerContents(
paintLayerForFragments->appendSingleFragmentIgnoringPagination(
layerFragments, localPaintingInfo.rootLayer,
localPaintingInfo.paintDirtyRect, cacheSlot, geometryMapperOption,
- IgnoreOverlayScrollbarSize, respectOverflowClip, &offsetFromRoot,
- localPaintingInfo.subPixelAccumulation);
+ IgnorePlatformOverlayScrollbarSize, respectOverflowClip,
+ &offsetFromRoot, localPaintingInfo.subPixelAccumulation);
} else if (isFixedPositionObjectInPagedMedia()) {
PaintLayerFragments singleFragment;
paintLayerForFragments->appendSingleFragmentIgnoringPagination(
singleFragment, localPaintingInfo.rootLayer,
localPaintingInfo.paintDirtyRect, cacheSlot, geometryMapperOption,
- IgnoreOverlayScrollbarSize, respectOverflowClip, &offsetFromRoot,
- localPaintingInfo.subPixelAccumulation);
+ IgnorePlatformOverlayScrollbarSize, respectOverflowClip,
+ &offsetFromRoot, localPaintingInfo.subPixelAccumulation);
repeatFixedPositionObjectInPages(singleFragment[0], paintingInfo,
layerFragments);
} else {
paintLayerForFragments->collectFragments(
layerFragments, localPaintingInfo.rootLayer,
localPaintingInfo.paintDirtyRect, cacheSlot, geometryMapperOption,
- IgnoreOverlayScrollbarSize, respectOverflowClip, &offsetFromRoot,
- localPaintingInfo.subPixelAccumulation);
+ IgnorePlatformOverlayScrollbarSize, respectOverflowClip,
+ &offsetFromRoot, localPaintingInfo.subPixelAccumulation);
}
if (paintFlags & PaintLayerPaintingAncestorClippingMaskPhase) {
@@ -729,7 +729,7 @@ PaintResult PaintLayerPainter::paintLayerWithTransform(
// here.
paginationLayer->collectFragments(
layerFragments, paintingInfo.rootLayer, paintingInfo.paintDirtyRect,
- cacheSlot, geometryMapperOption, IgnoreOverlayScrollbarSize,
+ cacheSlot, geometryMapperOption, IgnorePlatformOverlayScrollbarSize,
respectOverflowClip, nullptr, paintingInfo.subPixelAccumulation,
&transformedExtent);
}
@@ -746,7 +746,7 @@ PaintResult PaintLayerPainter::paintLayerWithTransform(
paintingInfo.rootLayer,
(paintFlags & PaintLayerUncachedClipRects) ? UncachedClipRects
: PaintingClipRects,
- IgnoreOverlayScrollbarSize);
+ IgnorePlatformOverlayScrollbarSize);
if (shouldRespectOverflowClip(paintFlags, m_paintLayer.layoutObject()) ==
IgnoreOverflowClip)
clipRectsContext.setIgnoreOverflowClip();

Powered by Google App Engine
This is Rietveld 408576698