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

Unified Diff: Source/core/platform/graphics/filters/FELighting.cpp

Issue 14856010: Adding color space conversion code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Attemptimp to re-upload the patch Created 7 years, 6 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/core/platform/graphics/filters/FELighting.cpp
diff --git a/Source/core/platform/graphics/filters/FELighting.cpp b/Source/core/platform/graphics/filters/FELighting.cpp
index ac901d8d69259e6949b9489ff843db82777834a4..c1449efe73bcfe2e02cd7d807d6687158788adee 100644
--- a/Source/core/platform/graphics/filters/FELighting.cpp
+++ b/Source/core/platform/graphics/filters/FELighting.cpp
@@ -416,7 +416,7 @@ void FELighting::applySoftware()
SkImageFilter* FELighting::createImageFilter(SkiaImageFilterBuilder* builder)
{
- SkAutoTUnref<SkImageFilter> input(builder ? builder->build(inputEffect(0)) : 0);
+ SkAutoTUnref<SkImageFilter> input(builder ? builder->build(inputEffect(0), operatingColorSpace()) : 0);
switch (m_lightSource->type()) {
case LS_DISTANT: {
DistantLightSource* distantLightSource = static_cast<DistantLightSource*>(m_lightSource.get());
« no previous file with comments | « Source/core/platform/graphics/filters/FEGaussianBlur.cpp ('k') | Source/core/platform/graphics/filters/FEMerge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698