Index: src/core/SkSpecialSurface.cpp |
diff --git a/src/core/SkSpecialSurface.cpp b/src/core/SkSpecialSurface.cpp |
index 2ac71ffb52045925526162293fef6ba22b06f326..7dced71eb2c8ddbdc1bf720a3655e4af1f215310 100644 |
--- a/src/core/SkSpecialSurface.cpp |
+++ b/src/core/SkSpecialSurface.cpp |
@@ -82,7 +82,8 @@ public: |
~SkSpecialSurface_Raster() override { } |
sk_sp<SkSpecialImage> onMakeImageSnapshot() override { |
- return SkSpecialImage::MakeFromRaster(this->proxy(), this->subset(), fBitmap); |
+ return SkSpecialImage::MakeFromRaster(this->proxy(), this->subset(), fBitmap, |
+ &this->props()); |
} |
private: |
@@ -139,7 +140,8 @@ public: |
sk_sp<SkSpecialImage> onMakeImageSnapshot() override { |
return SkSpecialImage::MakeFromGpu(this->proxy(), this->subset(), |
- kNeedNewImageUniqueID_SpecialImage, fTexture); |
+ kNeedNewImageUniqueID_SpecialImage, fTexture, |
+ &this->props()); |
} |
private: |