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

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

Issue 14856010: Adding color space conversion code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing my ASCII art Created 7 years, 7 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/FEColorMatrix.cpp
diff --git a/Source/core/platform/graphics/filters/FEColorMatrix.cpp b/Source/core/platform/graphics/filters/FEColorMatrix.cpp
index 6118e537b2914b907d838878f8d8fee483e95b11..1fa28e46108bcca746c63450415f05f0de1210d5 100644
--- a/Source/core/platform/graphics/filters/FEColorMatrix.cpp
+++ b/Source/core/platform/graphics/filters/FEColorMatrix.cpp
@@ -283,7 +283,7 @@ bool FEColorMatrix::applySkia()
SkImageFilter* FEColorMatrix::createImageFilter(SkiaImageFilterBuilder* builder)
{
- SkAutoTUnref<SkImageFilter> input(builder->build(inputEffect(0)));
+ SkAutoTUnref<SkImageFilter> input(builder->build(inputEffect(0), operatingColorSpace()));
SkAutoTUnref<SkColorFilter> filter(createColorFilter(m_type, m_values.data()));
return SkColorFilterImageFilter::Create(filter, input);
}

Powered by Google App Engine
This is Rietveld 408576698