Index: Source/core/rendering/RenderBox.h |
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h |
index b8465a1786f51f49d83b27e4420a1b0545d40462..af9553bfbe6268d2b39389ed364f25ea9c59b3e4 100644 |
--- a/Source/core/rendering/RenderBox.h |
+++ b/Source/core/rendering/RenderBox.h |
@@ -622,8 +622,6 @@ public: |
removeFloatingOrPositionedChildFromBlockLists(); |
} |
- virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE; |
- |
protected: |
virtual void willBeDestroyed() OVERRIDE; |
@@ -729,7 +727,7 @@ private: |
void savePreviousBorderBoxSizeIfNeeded(); |
bool logicalHeightComputesAsNone(SizeType) const; |
- void invalidatePaintIfNeeded(const PaintInvalidationState&, const RenderLayerModelObject& newPaintInvalidationContainer); |
+ virtual void invalidatePaintIfNeeded(const PaintInvalidationState&, const RenderLayerModelObject& newPaintInvalidationContainer) OVERRIDE FINAL; |
bool isBox() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check. |