Index: Source/platform/graphics/paint/SubtreeDisplayItem.h |
diff --git a/Source/platform/graphics/paint/SubtreeDisplayItem.h b/Source/platform/graphics/paint/SubtreeDisplayItem.h |
index e78d90628795df72412db22512eb26f656a433c4..8ca800685b26047ebaa704aefaa0432e2d013bf9 100644 |
--- a/Source/platform/graphics/paint/SubtreeDisplayItem.h |
+++ b/Source/platform/graphics/paint/SubtreeDisplayItem.h |
@@ -19,8 +19,8 @@ public: |
ASSERT(isSubtreeCachedType(type)); |
} |
- virtual void replay(GraphicsContext&) override final { ASSERT_NOT_REACHED(); } |
- virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override final { ASSERT_NOT_REACHED(); } |
+ void replay(GraphicsContext&) final { ASSERT_NOT_REACHED(); } |
+ void appendToWebDisplayItemList(WebDisplayItemList*) const final { ASSERT_NOT_REACHED(); } |
}; |
class PLATFORM_EXPORT BeginSubtreeDisplayItem : public PairedBeginDisplayItem { |
@@ -41,7 +41,7 @@ public: |
} |
#if ENABLE(ASSERT) |
- virtual bool isEndAndPairedWith(DisplayItem::Type otherType) const override final { return DisplayItem::isBeginSubtreeType(otherType); } |
+ bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return DisplayItem::isBeginSubtreeType(otherType); } |
#endif |
}; |