| Index: third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp b/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp
|
| index b617d1ef83234c42056e139d2932d4bb759a5051..4f174e38a322781ca4fa0aa6aebd5bee2a8465f5 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp
|
| @@ -97,16 +97,16 @@ void LayoutFlowThread::validateColumnSets()
|
| generateColumnSetIntervalTree();
|
| }
|
|
|
| -void LayoutFlowThread::mapToVisibleRectInContainerSpace(const LayoutBoxModelObject* paintInvalidationContainer, LayoutRect& rect, const PaintInvalidationState* paintInvalidationState) const
|
| +void LayoutFlowThread::mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, LayoutRect& rect, const PaintInvalidationState* paintInvalidationState) const
|
| {
|
| - ASSERT(paintInvalidationContainer != this); // A flow thread should never be an invalidation container.
|
| + ASSERT(ancestor != this); // A flow thread should never be an invalidation container.
|
| // |rect| is a layout rectangle, where the block direction coordinate is flipped for writing
|
| // mode. fragmentsBoundingBox(), on the other hand, works on physical rectangles, so we need to
|
| // flip the rectangle before and after calling it.
|
| flipForWritingMode(rect);
|
| rect = fragmentsBoundingBox(rect);
|
| flipForWritingMode(rect);
|
| - LayoutBlockFlow::mapToVisibleRectInContainerSpace(paintInvalidationContainer, rect, paintInvalidationState);
|
| + LayoutBlockFlow::mapToVisibleRectInAncestorSpace(ancestor, rect, paintInvalidationState);
|
| }
|
|
|
| void LayoutFlowThread::layout()
|
|
|