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

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

Issue 395813002: Resolve light-source position/direction when updated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 112f0168e7a2095165e08c138f72983072394d36..6587e92c2f084c77fd5d40420d3d248848fcdce4 100644
--- a/Source/platform/graphics/filters/PointLightSource.h
+++ b/Source/platform/graphics/filters/PointLightSource.h
@@ -41,9 +41,7 @@ public:
}
const FloatPoint3D& position() const { return m_position; }
- virtual bool setX(float) OVERRIDE;
- virtual bool setY(float) OVERRIDE;
- virtual bool setZ(float) OVERRIDE;
+ virtual bool setPosition(const FloatPoint3D&) OVERRIDE;
virtual void initPaintingData(PaintingData&) const OVERRIDE;
virtual void updatePaintingData(PaintingData&, int x, int y, float z) const OVERRIDE;
« no previous file with comments | « Source/platform/graphics/filters/LightSource.h ('k') | Source/platform/graphics/filters/PointLightSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698