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:
parent
ba2526bc66
commit
4b56375651
@ -46,7 +46,7 @@ public:
|
||||
}
|
||||
|
||||
SkImageInfo onImageInfo() const override {
|
||||
return fTarget->imageInfo();
|
||||
return fTarget->imageInfo().makeColorSpace(fTargetCS);
|
||||
}
|
||||
|
||||
void onDrawPaint(const SkPaint& paint) override {
|
||||
|
Loading…
Reference in New Issue
Block a user