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

Unified Diff: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.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/paint/PrePaintTreeWalk.cpp
diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
index e4944c4f5c4227984f40a32f7f918af43200f253..d3333896281bb0656098580ce5bfb643e39d242c 100644
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
@@ -90,8 +90,8 @@ void PrePaintTreeWalk::Walk(FrameView& frame_view,
property_tree_builder_.UpdateProperties(frame_view,
*context.tree_builder_context);
}
- paint_invalidator_.InvalidatePaintIfNeeded(frame_view,
- context.paint_invalidator_context);
+ paint_invalidator_.InvalidatePaint(frame_view,
+ context.paint_invalidator_context);
if (LayoutView* view = frame_view.GetLayoutView()) {
Walk(*view, context);
@@ -286,8 +286,7 @@ void PrePaintTreeWalk::Walk(const LayoutObject& object,
object, *context.tree_builder_context);
}
- paint_invalidator_.InvalidatePaintIfNeeded(object,
- context.paint_invalidator_context);
+ paint_invalidator_.InvalidatePaint(object, context.paint_invalidator_context);
if (context.tree_builder_context) {
property_tree_builder_.UpdatePropertiesForChildren(

Powered by Google App Engine
This is Rietveld 408576698