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

Unified Diff: Source/core/platform/graphics/filters/FEConvolveMatrix.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/FEConvolveMatrix.cpp
diff --git a/Source/core/platform/graphics/filters/FEConvolveMatrix.cpp b/Source/core/platform/graphics/filters/FEConvolveMatrix.cpp
index 2bebb7f63f50f3269a10a1c1cc6ead438db812b7..5c5882c0319525b46599175c87dc7fbdd457ded3 100644
--- a/Source/core/platform/graphics/filters/FEConvolveMatrix.cpp
+++ b/Source/core/platform/graphics/filters/FEConvolveMatrix.cpp
@@ -518,7 +518,7 @@ namespace WebCore {
SkImageFilter* FEConvolveMatrix::createImageFilter(SkiaImageFilterBuilder* builder)
{
- SkAutoTUnref<SkImageFilter> input(builder->build(inputEffect(0)));
+ SkAutoTUnref<SkImageFilter> input(builder->build(inputEffect(0), operatingColorSpace()));
SkISize kernelSize(SkISize::Make(m_kernelSize.width(), m_kernelSize.height()));
int numElements = kernelSize.width() * kernelSize.height();
« no previous file with comments | « Source/core/platform/graphics/filters/FEComposite.cpp ('k') | Source/core/platform/graphics/filters/FEDisplacementMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698