| 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 390d419a7e79306141689d5bfded55d62b7b31f2..ff4ca6651911ff07b47adbeabb331e6e9ffae552 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| @@ -34,6 +34,7 @@
|
| #include "core/layout/SubtreeLayoutScope.h"
|
| #include "core/paint/ObjectPaintInvalidator.h"
|
| #include "core/paint/PaintLayer.h"
|
| +#include "core/paint/TableCellPaintInvalidator.h"
|
| #include "core/paint/TableCellPainter.h"
|
| #include "core/style/CollapsedBorderValue.h"
|
| #include "platform/geometry/FloatQuad.h"
|
| @@ -1487,4 +1488,14 @@ bool LayoutTableCell::HasLineIfEmpty() const {
|
| return LayoutBlock::HasLineIfEmpty();
|
| }
|
|
|
| +PaintInvalidationReason LayoutTableCell::InvalidatePaintIfNeeded(
|
| + const PaintInvalidatorContext& context) const {
|
| + return TableCellPaintInvalidator(*this, context).InvalidatePaint();
|
| +}
|
| +
|
| +PaintInvalidationReason LayoutTableCell::InvalidatePaintIfNeeded(
|
| + const PaintInvalidationState& state) {
|
| + return LayoutBlockFlow::InvalidatePaintIfNeeded(state);
|
| +}
|
| +
|
| } // namespace blink
|
|
|