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

Unified Diff: Source/platform/graphics/paint/SubtreeDisplayItem.h

Issue 1213003004: Fix virtual/override/final usage in Source/platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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: 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
};
« no previous file with comments | « Source/platform/graphics/paint/ScrollDisplayItem.h ('k') | Source/platform/graphics/paint/Transform3DDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698