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

Unified Diff: Source/platform/graphics/paint/FloatClipDisplayItem.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/FloatClipDisplayItem.h
diff --git a/Source/platform/graphics/paint/FloatClipDisplayItem.h b/Source/platform/graphics/paint/FloatClipDisplayItem.h
index 8aec5755fbbd504c787061da5b3d342a86ce0555..3277520b4fc111fb01a5dce4644615e445bc8bea 100644
--- a/Source/platform/graphics/paint/FloatClipDisplayItem.h
+++ b/Source/platform/graphics/paint/FloatClipDisplayItem.h
@@ -23,12 +23,12 @@ public:
ASSERT(isFloatClipType(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;
+ void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
#endif
const FloatRect m_clipRect;
@@ -42,12 +42,12 @@ public:
ASSERT(isEndFloatClipType(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::isFloatClipType(otherType); }
+ bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return DisplayItem::isFloatClipType(otherType); }
#endif
};
« no previous file with comments | « Source/platform/graphics/paint/FixedPositionDisplayItem.h ('k') | Source/platform/graphics/paint/ScrollDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698