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

Unified Diff: third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.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/EmbeddedObjectPaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.cpp
index d5c5510d93165f81f999325f8e3eb066970f49e3..23d71734bc463b8cde4e62d4d6acd5acb635f94e 100644
--- a/third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.cpp
@@ -10,14 +10,13 @@
namespace blink {
-PaintInvalidationReason
-EmbeddedObjectPaintInvalidator::InvalidatePaintIfNeeded() {
+PaintInvalidationReason EmbeddedObjectPaintInvalidator::InvalidatePaint() {
PaintInvalidationReason reason =
- BoxPaintInvalidator(embedded_object_, context_).InvalidatePaintIfNeeded();
+ BoxPaintInvalidator(embedded_object_, context_).InvalidatePaint();
PluginView* plugin = embedded_object_.Plugin();
if (plugin)
- plugin->InvalidatePaintIfNeeded();
+ plugin->InvalidatePaint();
return reason;
}

Powered by Google App Engine
This is Rietveld 408576698