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

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

Issue 2643123004: Don't cancel out scroll offset when calculating the clip rectangle for multicol. (Closed)
Patch Set: The new test is expected to fail with SlimmingPaintV2 Created 3 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/multicol/scrollable-basic-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 73e6debb93a0f95c56cb0ae8c10362ba4c388675..1406e435a1bcb5268ffff3a19d821ee131dfda73 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -1635,7 +1635,7 @@ void PaintLayer::collectFragments(
// Make the dirty rect relative to the fragmentation context (multicol
// container, etc.).
LayoutRect dirtyRectInMulticolContainer(dirtyRect);
- dirtyRectInMulticolContainer.move(enclosingPaginationLayer()->location() -
+ dirtyRectInMulticolContainer.move(enclosingFlowThread->physicalLocation() -
offsetOfPaginationLayerFromRoot);
// Slice the layer into fragments. Each fragment needs to be processed (e.g.
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/multicol/scrollable-basic-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698