Fix iOS build
BUG=skia: Change-Id: I914cd75c84bbe57401ab65352d4e8b3dc413dce1 Reviewed-on: https://skia-review.googlesource.com/6418 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
This commit is contained in:
parent
909d3791f5
commit
578f52c6cf
@ -63,7 +63,7 @@ static sk_sp<SkImage> make_raster_image(SkColorType colorType, SkAlphaType alpha
|
|||||||
}
|
}
|
||||||
|
|
||||||
static sk_sp<SkColorSpace> make_srgb_transfer_fn(const SkColorSpacePrimaries& primaries) {
|
static sk_sp<SkColorSpace> make_srgb_transfer_fn(const SkColorSpacePrimaries& primaries) {
|
||||||
SkMatrix44 toXYZD50;
|
SkMatrix44 toXYZD50(SkMatrix44::kUninitialized_Constructor);
|
||||||
SkAssertResult(primaries.toXYZD50(&toXYZD50));
|
SkAssertResult(primaries.toXYZD50(&toXYZD50));
|
||||||
return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, toXYZD50);
|
return SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, toXYZD50);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user