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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.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/LayoutHTMLCanvas.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.cpp b/third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.cpp
index 76a67daec68d6047f99cd066819b0bfb8f782cbc..e67c7b27c20ac768f814da2cc365e28d6d730e9c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.cpp
@@ -83,9 +83,9 @@ void LayoutHTMLCanvas::CanvasSizeChanged() {
SetNeedsLayout(LayoutInvalidationReason::kSizeChanged);
}
-PaintInvalidationReason LayoutHTMLCanvas::InvalidatePaintIfNeeded(
+PaintInvalidationReason LayoutHTMLCanvas::InvalidatePaint(
const PaintInvalidatorContext& context) const {
- return HTMLCanvasPaintInvalidator(*this, context).InvalidatePaintIfNeeded();
+ return HTMLCanvasPaintInvalidator(*this, context).InvalidatePaint();
}
CompositingReasons LayoutHTMLCanvas::AdditionalCompositingReasons() const {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.h ('k') | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698