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

Unified Diff: Source/platform/graphics/paint/ScrollDisplayItem.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/ScrollDisplayItem.h
diff --git a/Source/platform/graphics/paint/ScrollDisplayItem.h b/Source/platform/graphics/paint/ScrollDisplayItem.h
index 7c16b6fe92e0e1021a9ffffdbd1a5f8f9a133b70..3399e95629ba8542d6b672a8c527a8b39e7ac07a 100644
--- a/Source/platform/graphics/paint/ScrollDisplayItem.h
+++ b/Source/platform/graphics/paint/ScrollDisplayItem.h
@@ -21,12 +21,12 @@ public:
ASSERT(isScrollType(type));
}
- virtual void replay(GraphicsContext&) override;
- virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override;
+ void replay(GraphicsContext&) override;
+ void appendToWebDisplayItemList(WebDisplayItemList*) const override;
private:
#ifndef NDEBUG
- virtual void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override final;
+ void dumpPropertiesAsDebugString(WTF::StringBuilder&) const final;
#endif
const IntSize m_currentOffset;
@@ -40,12 +40,12 @@ public:
ASSERT(isEndScrollType(type));
}
- virtual void replay(GraphicsContext&) override;
- virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override;
+ void replay(GraphicsContext&) override;
+ void appendToWebDisplayItemList(WebDisplayItemList*) const override;
private:
#if ENABLE(ASSERT)
- virtual bool isEndAndPairedWith(DisplayItem::Type otherType) const override final { return DisplayItem::isScrollType(otherType); }
+ bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return DisplayItem::isScrollType(otherType); }
#endif
};
« no previous file with comments | « Source/platform/graphics/paint/FloatClipDisplayItem.h ('k') | Source/platform/graphics/paint/SubtreeDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698