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

Unified Diff: Source/platform/graphics/filters/PointLightSource.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/filters/PointLightSource.h
diff --git a/Source/platform/graphics/filters/PointLightSource.h b/Source/platform/graphics/filters/PointLightSource.h
index 3ae6f9fc9bcf986e98644bdba08ff0fd5ba59e5b..f5806d735872639ab37b00e8ffb2add96f69f3eb 100644
--- a/Source/platform/graphics/filters/PointLightSource.h
+++ b/Source/platform/graphics/filters/PointLightSource.h
@@ -34,16 +34,16 @@ public:
return adoptRef(new PointLightSource(position));
}
- virtual PassRefPtr<LightSource> create(const FloatPoint3D& scale, const FloatSize& offset) const override
+ PassRefPtr<LightSource> create(const FloatPoint3D& scale, const FloatSize& offset) const override
{
FloatPoint3D position(m_position.x() * scale.x() - offset.width(), m_position.y() * scale.y() - offset.height(), m_position.z() * scale.z());
return adoptRef(new PointLightSource(position));
}
const FloatPoint3D& position() const { return m_position; }
- virtual bool setPosition(const FloatPoint3D&) override;
+ bool setPosition(const FloatPoint3D&) override;
- virtual TextStream& externalRepresentation(TextStream&) const override;
+ TextStream& externalRepresentation(TextStream&) const override;
private:
PointLightSource(const FloatPoint3D& position)
« no previous file with comments | « Source/platform/graphics/filters/FilterOperation.h ('k') | Source/platform/graphics/filters/ReferenceFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698