Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index 1f9a9cc5e22a89b4e752e3ed63b949266139aec4..1d92aa51a62877f564a8c098d65d50e45477a75f 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -177,7 +177,7 @@ sk_sp<SkSpecialImage> SkAlphaThresholdFilterImpl::onFilterImage(SkSpecialImage* |
return nullptr; |
} |
- return DrawWithFP(context, std::move(fp), bounds, sk_ref_sp(input->getColorSpace())); |
+ return DrawWithFP(context, std::move(fp), bounds, ctx.outputProperties()); |
} |
#endif |