Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCell.h

Issue 2851553002: Invalidate row/section for backgrounds when cell's geometry changes (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutTableCell.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.h b/third_party/WebKit/Source/core/layout/LayoutTableCell.h
index fa4c3bedd16d3db6d4c7a7d322f4ea41913cfbeb..ff0d408f4d39dfc55739fb99b2c490c53367fa19 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.h
@@ -348,6 +348,11 @@ class CORE_EXPORT LayoutTableCell final : public LayoutBlockFlow {
const LayoutPoint& layer_offset,
const LayoutRect& container_rect) const override;
+ PaintInvalidationReason InvalidatePaintIfNeeded(
+ const PaintInvalidatorContext&) const override;
+ PaintInvalidationReason InvalidatePaintIfNeeded(
+ const PaintInvalidationState&) override;
+
private:
bool IsOfType(LayoutObjectType type) const override {
return type == kLayoutObjectTableCell || LayoutBlockFlow::IsOfType(type);

Powered by Google App Engine
This is Rietveld 408576698