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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

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/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index bddde5e67a7624be6f1bd0418a7aa290e5579a66..c726bbd57bde6cceff589c250d78bf944f2a1b3f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1707,7 +1707,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
virtual LayoutRect ViewRect() const;
// New version to replace the above old version.
- virtual PaintInvalidationReason InvalidatePaintIfNeeded(
+ virtual PaintInvalidationReason InvalidatePaint(
const PaintInvalidatorContext&) const;
// When this object is invalidated for paint, this method is called to
@@ -2081,7 +2081,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
// This function generates the invalidation for this object only.
// It doesn't recurse into other object, as this is handled by
// invalidatePaintOfSubtreesIfNeeded.
- virtual PaintInvalidationReason InvalidatePaintIfNeeded(
+ virtual PaintInvalidationReason InvalidatePaint(
const PaintInvalidationState&);
void SetIsBackgroundAttachmentFixedObject(bool);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698