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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.cpp

Issue 2852573002: Rename InvalidatePaintIfNeeded to drop deprecated IfNeeded suffix. (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/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index 6ef036efa046bb5fcc5877c52da79166773e02d7..0605d5679b6a4628849127da43ef46c1e95dee62 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -1701,18 +1701,18 @@ void LayoutTable::EnsureIsReadyForPaintInvalidation() {
RecalcCollapsedBordersIfNeeded();
}
-PaintInvalidationReason LayoutTable::InvalidatePaintIfNeeded(
+PaintInvalidationReason LayoutTable::InvalidatePaint(
const PaintInvalidationState& paint_invalidation_state) {
if (CollapseBorders() && !collapsed_borders_.IsEmpty())
paint_invalidation_state.PaintingLayer()
.SetNeedsPaintPhaseDescendantBlockBackgrounds();
- return LayoutBlock::InvalidatePaintIfNeeded(paint_invalidation_state);
+ return LayoutBlock::InvalidatePaint(paint_invalidation_state);
}
-PaintInvalidationReason LayoutTable::InvalidatePaintIfNeeded(
+PaintInvalidationReason LayoutTable::InvalidatePaint(
const PaintInvalidatorContext& context) const {
- return TablePaintInvalidator(*this, context).InvalidatePaintIfNeeded();
+ return TablePaintInvalidator(*this, context).InvalidatePaint();
}
LayoutUnit LayoutTable::PaddingTop() const {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.h ('k') | third_party/WebKit/Source/core/layout/LayoutView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698