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

Unified Diff: Source/platform/graphics/filters/SpotLightSource.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/filters/SourceGraphic.h ('k') | Source/platform/graphics/gpu/DrawingBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/SpotLightSource.h
diff --git a/Source/platform/graphics/filters/SpotLightSource.h b/Source/platform/graphics/filters/SpotLightSource.h
index 4ec89d63ccac58fdca43095530220599b087864d..636c906e823848717fc5e9e701f0bfe1e47e9f4e 100644
--- a/Source/platform/graphics/filters/SpotLightSource.h
+++ b/Source/platform/graphics/filters/SpotLightSource.h
@@ -36,7 +36,7 @@ public:
return adoptRef(new SpotLightSource(position, direction, specularExponent, limitingConeAngle));
}
- 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());
FloatPoint3D direction(m_direction.x() * scale.x() - offset.width(), m_direction.y() * scale.y() - offset.height(), m_direction.z() * scale.z());
@@ -48,13 +48,13 @@ public:
float specularExponent() const { return m_specularExponent; }
float limitingConeAngle() const { return m_limitingConeAngle; }
- virtual bool setPosition(const FloatPoint3D&) override;
- virtual bool setPointsAt(const FloatPoint3D&) override;
+ bool setPosition(const FloatPoint3D&) override;
+ bool setPointsAt(const FloatPoint3D&) override;
- virtual bool setSpecularExponent(float) override;
- virtual bool setLimitingConeAngle(float) override;
+ bool setSpecularExponent(float) override;
+ bool setLimitingConeAngle(float) override;
- virtual TextStream& externalRepresentation(TextStream&) const override;
+ TextStream& externalRepresentation(TextStream&) const override;
private:
SpotLightSource(const FloatPoint3D& position, const FloatPoint3D& direction,
« no previous file with comments | « Source/platform/graphics/filters/SourceGraphic.h ('k') | Source/platform/graphics/gpu/DrawingBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698