aboutsummaryrefslogtreecommitdiff
path: root/tests/ToSRGBColorFilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ToSRGBColorFilter.cpp')
-rw-r--r--tests/ToSRGBColorFilter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ToSRGBColorFilter.cpp b/tests/ToSRGBColorFilter.cpp
index 519ffb8a35..01c5673d4d 100644
--- a/tests/ToSRGBColorFilter.cpp
+++ b/tests/ToSRGBColorFilter.cpp
@@ -22,7 +22,8 @@ DEF_TEST(SkToSRGBColorFilter, r) {
REPORTER_ASSERT(r, nullptr == SkToSRGBColorFilter::Make(nullptr));
// Here's a realistic conversion.
- auto dci_p3 = SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, SkNamedGamut::kDCIP3);
+ auto dci_p3 = SkColorSpace::MakeRGB(SkColorSpace::kLinear_RenderTargetGamma,
+ SkColorSpace::kDCIP3_D65_Gamut);
REPORTER_ASSERT(r, nullptr != SkToSRGBColorFilter::Make(dci_p3));
}