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

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

Issue 951523002: Remove PaintingData from LightSource (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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.cpp
diff --git a/Source/platform/graphics/filters/PointLightSource.cpp b/Source/platform/graphics/filters/PointLightSource.cpp
index 6d41dde549b77d84ab24fd565e422ecd3a0910af..5fcb922c120d762e85a51bb4b1a918a661af3fed 100644
--- a/Source/platform/graphics/filters/PointLightSource.cpp
+++ b/Source/platform/graphics/filters/PointLightSource.cpp
@@ -35,18 +35,6 @@
namespace blink {
-void PointLightSource::initPaintingData(PaintingData&) const
-{
-}
-
-void PointLightSource::updatePaintingData(PaintingData& paintingData, int x, int y, float z) const
-{
- paintingData.lightVector.setX(m_position.x() - x);
- paintingData.lightVector.setY(m_position.y() - y);
- paintingData.lightVector.setZ(m_position.z() - z);
- paintingData.lightVectorLength = paintingData.lightVector.length();
-}
-
bool PointLightSource::setPosition(const FloatPoint3D& position)
{
if (m_position == position)
« no previous file with comments | « Source/platform/graphics/filters/PointLightSource.h ('k') | Source/platform/graphics/filters/SpotLightSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698