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

Unified Diff: Source/platform/graphics/paint/CompositingDisplayItem.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
« no previous file with comments | « Source/platform/graphics/paint/ClipPathDisplayItem.h ('k') | Source/platform/graphics/paint/DisplayItem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/CompositingDisplayItem.h
diff --git a/Source/platform/graphics/paint/CompositingDisplayItem.h b/Source/platform/graphics/paint/CompositingDisplayItem.h
index 97ce09809645f866053b6343360fca0c8dbc95ce..d2dc8357d2a069d354b4e019c5028ff4c8d33997 100644
--- a/Source/platform/graphics/paint/CompositingDisplayItem.h
+++ b/Source/platform/graphics/paint/CompositingDisplayItem.h
@@ -29,12 +29,12 @@ public:
m_bounds = FloatRect(*bounds);
}
- 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 SkXfermode::Mode m_xferMode;
const float m_opacity;
@@ -48,12 +48,12 @@ public:
EndCompositingDisplayItem(const DisplayItemClientWrapper& client)
: PairedEndDisplayItem(client, EndCompositing) { }
- 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 == BeginCompositing; }
+ bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return otherType == BeginCompositing; }
#endif
};
« no previous file with comments | « Source/platform/graphics/paint/ClipPathDisplayItem.h ('k') | Source/platform/graphics/paint/DisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698