From 0ab0f1c120050920140da7fe15fc2ccd81a8e01d Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Tue, 1 May 2018 13:09:53 -0400 Subject: Convert skcms to only export functions (not data) This simplifies shared library builds on Windows (no need to conditionally change declspec to dllimport). Once this lands, we can make the same change (plus update internal references): https://skia-review.googlesource.com/c/skcms/+/124982 Change-Id: I0d4fa9031258f77d370e6e6e018afaf543c29d85 Reviewed-on: https://skia-review.googlesource.com/124983 Commit-Queue: Brian Osman Reviewed-by: Mike Klein --- tests/ColorSpaceTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ColorSpaceTest.cpp') diff --git a/tests/ColorSpaceTest.cpp b/tests/ColorSpaceTest.cpp index 05e6893875..e95c528ea5 100644 --- a/tests/ColorSpaceTest.cpp +++ b/tests/ColorSpaceTest.cpp @@ -438,7 +438,7 @@ DEF_TEST(ColorSpace_IsSRGB, r) { #if defined(SK_USE_SKCMS) DEF_TEST(ColorSpace_skcms_IsSRGB, r) { - sk_sp srgb = SkColorSpace::Make(&skcms_sRGB_profile); + sk_sp srgb = SkColorSpace::Make(skcms_sRGB_profile()); REPORTER_ASSERT(r, srgb->isSRGB()); } #endif -- cgit v1.2.3