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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.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/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index a7bb1d945ba7d3aa3b828f6a662d7bb50a699d9c..50d9e241cc39b074790648d83b03c61e97e95290 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -996,14 +996,14 @@ void LayoutBlock::RemovePositionedObject(LayoutBox* o) {
}
}
-PaintInvalidationReason LayoutBlock::InvalidatePaintIfNeeded(
+PaintInvalidationReason LayoutBlock::InvalidatePaint(
const PaintInvalidationState& paint_invalidation_state) {
- return LayoutBox::InvalidatePaintIfNeeded(paint_invalidation_state);
+ return LayoutBox::InvalidatePaint(paint_invalidation_state);
}
-PaintInvalidationReason LayoutBlock::InvalidatePaintIfNeeded(
+PaintInvalidationReason LayoutBlock::InvalidatePaint(
const PaintInvalidatorContext& context) const {
- return BlockPaintInvalidator(*this).InvalidatePaintIfNeeded(context);
+ return BlockPaintInvalidator(*this).InvalidatePaint(context);
}
void LayoutBlock::ClearPreviousVisualRects() {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.h ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698