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

Unified Diff: Source/platform/graphics/paint/ClipPathDisplayItem.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/ClipPathDisplayItem.h
diff --git a/Source/platform/graphics/paint/ClipPathDisplayItem.h b/Source/platform/graphics/paint/ClipPathDisplayItem.h
index 21166591875464e2f04c80d9a51689daf36660f7..9f95c92faa390ba89521a0d64e704108791fed51 100644
--- a/Source/platform/graphics/paint/ClipPathDisplayItem.h
+++ b/Source/platform/graphics/paint/ClipPathDisplayItem.h
@@ -19,13 +19,13 @@ public:
: PairedBeginDisplayItem(client, BeginClipPath)
, m_clipPath(clipPath.skPath()) { }
- virtual void replay(GraphicsContext&) override;
- virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override;
+ void replay(GraphicsContext&) override;
+ void appendToWebDisplayItemList(WebDisplayItemList*) const override;
private:
const SkPath m_clipPath;
#ifndef NDEBUG
- virtual void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
+ void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
#endif
};
@@ -34,12 +34,12 @@ public:
EndClipPathDisplayItem(const DisplayItemClientWrapper& client)
: PairedEndDisplayItem(client, EndClipPath) { }
- 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 == BeginClipPath; }
+ bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return otherType == BeginClipPath; }
#endif
};
« no previous file with comments | « Source/platform/graphics/paint/ClipDisplayItem.h ('k') | Source/platform/graphics/paint/CompositingDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698