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

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: 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/FEColorMatrix.cpp
diff --git a/Source/core/platform/graphics/filters/FEColorMatrix.cpp b/Source/core/platform/graphics/filters/FEColorMatrix.cpp
index 5cb6919c8049f51ef6495fbfae1bcef0457d7a2e..3abca595b785f63e3664f8882e58d2d492b56729 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);
}
« no previous file with comments | « Source/core/platform/graphics/filters/FEBlend.cpp ('k') | Source/core/platform/graphics/filters/FEComponentTransfer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698