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

Unified Diff: third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.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/HTMLCanvasPaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.cpp
index 12b6bbe298d746a063fd0bbe6748ef1d0ddf96bd..2b50d3a2ede74225616ce0ee1384a967aeb31202 100644
--- a/third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.cpp
@@ -11,9 +11,9 @@
namespace blink {
-PaintInvalidationReason HTMLCanvasPaintInvalidator::InvalidatePaintIfNeeded() {
+PaintInvalidationReason HTMLCanvasPaintInvalidator::InvalidatePaint() {
PaintInvalidationReason reason =
- BoxPaintInvalidator(html_canvas_, context_).InvalidatePaintIfNeeded();
+ BoxPaintInvalidator(html_canvas_, context_).InvalidatePaint();
HTMLCanvasElement* element = toHTMLCanvasElement(html_canvas_.GetNode());
if (element->IsDirty()) {

Powered by Google App Engine
This is Rietveld 408576698