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

Unified Diff: Source/platform/graphics/paint/TransformDisplayItem.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/TransformDisplayItem.h
diff --git a/Source/platform/graphics/paint/TransformDisplayItem.h b/Source/platform/graphics/paint/TransformDisplayItem.h
index e16f5c78246805c6976e72299a1d2684683ae0a6..a27dba23c2032523693f4482f92fab05b0c1da95 100644
--- a/Source/platform/graphics/paint/TransformDisplayItem.h
+++ b/Source/platform/graphics/paint/TransformDisplayItem.h
@@ -17,12 +17,12 @@ public:
: PairedBeginDisplayItem(client, BeginTransform)
, m_transform(transform) { }
- 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 AffineTransform m_transform;
@@ -33,12 +33,12 @@ public:
EndTransformDisplayItem(const DisplayItemClientWrapper& client)
: PairedEndDisplayItem(client, EndTransform) { }
- 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 otherType == BeginTransform; }
+ bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return otherType == BeginTransform; }
#endif
};
« no previous file with comments | « Source/platform/graphics/paint/Transform3DDisplayItem.h ('k') | Source/platform/graphics/test/MockImageDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698