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 6a4a5b07426a76c3decd8b6bec230ff82b425a26..2f6db75ba68c8609dee38693ea31c6606922da3a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -1641,7 +1641,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
m_bitfields.setFullPaintInvalidationReason(PaintInvalidationNone); |
} |
- void clearPaintInvalidationFlags(); |
+ virtual void clearPaintInvalidationFlags(); |
bool mayNeedPaintInvalidation() const { |
return m_bitfields.mayNeedPaintInvalidation(); |
@@ -1719,6 +1719,9 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver, |
void setShouldDoFullPaintInvalidation(PaintInvalidationReason reason) { |
m_layoutObject.setShouldDoFullPaintInvalidation(reason); |
} |
+ void setMayNeedPaintInvalidation() { |
+ m_layoutObject.setMayNeedPaintInvalidation(); |
+ } |
void setBackgroundChangedSinceLastPaintInvalidation() { |
m_layoutObject.setBackgroundChangedSinceLastPaintInvalidation(); |
} |