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. |