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 87e7a70e8e2c30e940f9b394443a990bee8c3da3..f4c4d5bf76d71bd80f13f67e1f1492a4eb8fc78b 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp |
@@ -35,6 +35,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 "platform/geometry/FloatQuad.h" |
#include "platform/geometry/TransformState.h" |
@@ -1491,4 +1492,14 @@ bool LayoutTableCell::HasLineIfEmpty() const { |
return LayoutBlock::HasLineIfEmpty(); |
} |
+PaintInvalidationReason LayoutTableCell::InvalidatePaint( |
+ const PaintInvalidatorContext& context) const { |
+ return TableCellPaintInvalidator(*this, context).InvalidatePaint(); |
+} |
+ |
+PaintInvalidationReason LayoutTableCell::InvalidatePaint( |
+ const PaintInvalidationState& state) { |
+ return LayoutBlockFlow::InvalidatePaint(state); |
+} |
+ |
} // namespace blink |