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

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

Issue 181943003: Scaling and offset fix for FELighting (software and skia paths) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed fix to temporary light creation Created 6 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 c88c2ea4b19b670717d2db1346402cb1f00121e8..5acacbc43c46069bb2b9f83bdc78624d7393f82b 100644
--- a/Source/platform/graphics/filters/PointLightSource.cpp
+++ b/Source/platform/graphics/filters/PointLightSource.cpp
@@ -35,11 +35,11 @@
namespace WebCore {
-void PointLightSource::initPaintingData(PaintingData&)
+void PointLightSource::initPaintingData(PaintingData&) const
{
}
-void PointLightSource::updatePaintingData(PaintingData& paintingData, int x, int y, float z)
+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);
« 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