| Index: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| index c073fc05c7df393b27fbe0548625d7df0b180e45..356fc1905c29829cbf5c164ab5eff764bbb0b268 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| @@ -366,7 +366,7 @@ void LayoutTableCell::mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject
|
| if (ancestor == this)
|
| return;
|
| r.setY(r.y());
|
| - if ((!paintInvalidationState || !paintInvalidationState->canMapToContainer(ancestor)) && parent())
|
| + if ((!paintInvalidationState || !paintInvalidationState->canMapToAncestor(ancestor)) && parent())
|
| r.moveBy(-parentBox()->location()); // Rows are in the same coordinate space, so don't add their offset in.
|
| LayoutBlockFlow::mapToVisibleRectInAncestorSpace(ancestor, r, paintInvalidationState);
|
| }
|
|
|