aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TableColorFilterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TableColorFilterTest.cpp')
-rw-r--r--tests/TableColorFilterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TableColorFilterTest.cpp b/tests/TableColorFilterTest.cpp
index baf6a47b14..857aa7ed69 100644
--- a/tests/TableColorFilterTest.cpp
+++ b/tests/TableColorFilterTest.cpp
@@ -30,7 +30,7 @@ DEF_TEST(TableColorFilter, r) {
// The rec2020 primaries are not representable in sRGB, but will clamp to the sRGB primaries.
SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE };
- sk_sp<SkColorFilter> composed = SkColorFilter::MakeComposeFilter(table, to_srgb);
+ sk_sp<SkColorFilter> composed = table->makeComposed(to_srgb);
for (auto color : colors) {
REPORTER_ASSERT(r, composed->filterColor(color) == color);
}