Index: src/core/SkSpecialSurface.cpp |
diff --git a/src/core/SkSpecialSurface.cpp b/src/core/SkSpecialSurface.cpp |
index 510926a1f5db508b429ee55dc97ddface3629422..b339c274768de45f7b0fac06e32c7e24648fae8b 100644 |
--- a/src/core/SkSpecialSurface.cpp |
+++ b/src/core/SkSpecialSurface.cpp |
@@ -137,9 +137,11 @@ public: |
~SkSpecialSurface_Gpu() override { } |
sk_sp<SkSpecialImage> onMakeImageSnapshot() override { |
+ // TODO: Supply color space from fDrawContext, once it's present |
sk_sp<SkSpecialImage> tmp(SkSpecialImage::MakeFromGpu(this->subset(), |
kNeedNewImageUniqueID_SpecialImage, |
fDrawContext->asTexture(), |
+ nullptr, |
&this->props())); |
fDrawContext = nullptr; |
return tmp; |