| 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 48aa589b5862e815fa464165e8e671569ecacc45..2b7aabc4b2b78fe4d388c6698f6f7148cacbb3f9 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| @@ -400,14 +400,14 @@ LayoutSize LayoutTableCell::offsetFromContainer(const LayoutObject* o) const {
|
| return offset;
|
| }
|
|
|
| -LayoutRect LayoutTableCell::localOverflowRectForPaintInvalidation() const {
|
| +LayoutRect LayoutTableCell::localVisualRect() const {
|
| // If the table grid is dirty, we cannot get reliable information about
|
| // adjoining cells, so we ignore outside borders. This should not be a problem
|
| // because it means that the table is going to recalculate the grid, relayout
|
| // and issue a paint invalidation of its current rect, which includes any
|
| // outside borders of this cell.
|
| if (!table()->collapseBorders() || table()->needsSectionRecalc())
|
| - return LayoutBlockFlow::localOverflowRectForPaintInvalidation();
|
| + return LayoutBlockFlow::localVisualRect();
|
|
|
| bool rtl = !styleForCellFlow().isLeftToRightDirection();
|
| int outlineOutset = style()->outlineOutsetExtent();
|
|
|