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

Unified Diff: Source/platform/graphics/filters/PointLightSource.h

Issue 1355713004: Drop virtual LightSource::create (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/LightSource.h ('k') | Source/platform/graphics/filters/SpotLightSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/PointLightSource.h
diff --git a/Source/platform/graphics/filters/PointLightSource.h b/Source/platform/graphics/filters/PointLightSource.h
index f5806d735872639ab37b00e8ffb2add96f69f3eb..25a533eca49e31f0689005c79f7aae4d36678b0d 100644
--- a/Source/platform/graphics/filters/PointLightSource.h
+++ b/Source/platform/graphics/filters/PointLightSource.h
@@ -34,12 +34,6 @@ public:
return adoptRef(new PointLightSource(position));
}
- 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; }
bool setPosition(const FloatPoint3D&) override;
« no previous file with comments | « Source/platform/graphics/filters/LightSource.h ('k') | Source/platform/graphics/filters/SpotLightSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698