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

Unified Diff: Source/platform/graphics/paint/DisplayItemListTest.cpp

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
« no previous file with comments | « Source/platform/graphics/paint/DisplayItem.h ('k') | Source/platform/graphics/paint/DrawingDisplayItem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/DisplayItemListTest.cpp
diff --git a/Source/platform/graphics/paint/DisplayItemListTest.cpp b/Source/platform/graphics/paint/DisplayItemListTest.cpp
index b892d4f7fdd823540d4565596e9a307340bae8e9..a135179c4c1c27f4dd4ff97640dc03f633166a42 100644
--- a/Source/platform/graphics/paint/DisplayItemListTest.cpp
+++ b/Source/platform/graphics/paint/DisplayItemListTest.cpp
@@ -25,11 +25,11 @@ protected:
const DisplayItems& newPaintListBeforeUpdate() { return displayItemList().m_newDisplayItems; }
private:
- virtual void SetUp() override
+ void SetUp() override
{
RuntimeEnabledFeatures::setSlimmingPaintEnabled(true);
}
- virtual void TearDown() override
+ void TearDown() override
{
RuntimeEnabledFeatures::setSlimmingPaintEnabled(m_originalSlimmingPaintEnabled);
}
@@ -59,8 +59,8 @@ class TestDisplayItem : public DisplayItem {
public:
TestDisplayItem(const TestDisplayItemClient& client, Type type) : DisplayItem(client, 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(); }
};
#ifndef NDEBUG
« no previous file with comments | « Source/platform/graphics/paint/DisplayItem.h ('k') | Source/platform/graphics/paint/DrawingDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698