summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/platform/graphics/filters/DistantLightSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/graphics/filters/DistantLightSource.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/platform/graphics/filters/DistantLightSource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/graphics/filters/DistantLightSource.cpp b/chromium/third_party/WebKit/Source/platform/graphics/filters/DistantLightSource.cpp
index 6da197cbb89..b44c393ab9b 100644
--- a/chromium/third_party/WebKit/Source/platform/graphics/filters/DistantLightSource.cpp
+++ b/chromium/third_party/WebKit/Source/platform/graphics/filters/DistantLightSource.cpp
@@ -35,7 +35,7 @@
namespace WebCore {
-void DistantLightSource::initPaintingData(PaintingData& paintingData)
+void DistantLightSource::initPaintingData(PaintingData& paintingData) const
{
float azimuth = deg2rad(m_azimuth);
float elevation = deg2rad(m_elevation);
@@ -45,7 +45,7 @@ void DistantLightSource::initPaintingData(PaintingData& paintingData)
paintingData.lightVectorLength = 1;
}
-void DistantLightSource::updatePaintingData(PaintingData&, int, int, float)
+void DistantLightSource::updatePaintingData(PaintingData&, int, int, float) const
{
}