| 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 e6fa7438ee5c23834575753fa966a04a9345cd2e..33b681525502d9ed4ab2d2165cb8279af75d899a 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| @@ -360,13 +360,13 @@ LayoutRect LayoutTableCell::localOverflowRectForPaintInvalidation() const
|
| return LayoutRect(-location.x(), -location.y(), location.x() + std::max(size().width() + right, selfVisualOverflowRect.maxX()), location.y() + std::max(size().height() + bottom, selfVisualOverflowRect.maxY()));
|
| }
|
|
|
| -bool LayoutTableCell::mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, LayoutRect& r, VisualRectFlags visualRectFlags) const
|
| +bool LayoutTableCell::mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, LayoutRect& rect, VisualRectFlags visualRectFlags) const
|
| {
|
| if (ancestor == this)
|
| return true;
|
| if (parent())
|
| - r.moveBy(-parentBox()->location()); // Rows are in the same coordinate space, so don't add their offset in.
|
| - return LayoutBlockFlow::mapToVisualRectInAncestorSpace(ancestor, r, visualRectFlags);
|
| + rect.moveBy(-parentBox()->topLeftLocation());
|
| + return LayoutBlockFlow::mapToVisualRectInAncestorSpace(ancestor, rect, visualRectFlags);
|
| }
|
|
|
| int LayoutTableCell::cellBaselinePosition() const
|
|
|