Include target CS in SkColorSpaceXformCanvas' image info

Bug: skia:
Change-Id: Idcf9c933e1a236772e0b5edd3ba8437d1a6ae293
Reviewed-on: https://skia-review.googlesource.com/69502
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
Brian Osman 2017-11-09 13:50:32 -05:00 committed by Skia Commit-Bot
parent ba2526bc66
commit 4b56375651

View File

@ -46,7 +46,7 @@ public:
}
SkImageInfo onImageInfo() const override {
return fTarget->imageInfo();
return fTarget->imageInfo().makeColorSpace(fTargetCS);
}
void onDrawPaint(const SkPaint& paint) override {