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

Unified Diff: Source/platform/graphics/paint/FilterDisplayItem.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/FilterDisplayItem.h
diff --git a/Source/platform/graphics/paint/FilterDisplayItem.h b/Source/platform/graphics/paint/FilterDisplayItem.h
index cbd3321a45dbee7741837e2e970c6607f9bd51a5..059df56de66d3c51b03273f088884fb870fd77e3 100644
--- a/Source/platform/graphics/paint/FilterDisplayItem.h
+++ b/Source/platform/graphics/paint/FilterDisplayItem.h
@@ -24,13 +24,13 @@ public:
, m_webFilterOperations(filterOperations)
, m_bounds(bounds) { }
- virtual void replay(GraphicsContext&) override;
- virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override;
- virtual bool drawsContent() const override;
+ void replay(GraphicsContext&) override;
+ void appendToWebDisplayItemList(WebDisplayItemList*) const override;
+ bool drawsContent() const override;
private:
#ifndef NDEBUG
- virtual void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
+ void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
#endif
// FIXME: m_imageFilter should be replaced with m_webFilterOperations when copying data to the compositor.
@@ -44,12 +44,12 @@ public:
EndFilterDisplayItem(const DisplayItemClientWrapper& client)
: PairedEndDisplayItem(client, EndFilter) { }
- 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 == BeginFilter; }
+ bool isEndAndPairedWith(DisplayItem::Type otherType) const final { return otherType == BeginFilter; }
#endif
};

Powered by Google App Engine
This is Rietveld 408576698