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); |