diff options
author | Brian Osman <brianosman@google.com> | 2018-05-01 13:09:53 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-01 17:42:35 +0000 |
commit | 0ab0f1c120050920140da7fe15fc2ccd81a8e01d (patch) | |
tree | de6e47839b9c025193ac7a421d547c2bc3e57956 /tests/ColorSpaceTest.cpp | |
parent | e467d4e65639a719e953f6b62f91770a6411c0b9 (diff) |
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 <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests/ColorSpaceTest.cpp')
-rw-r--r-- | tests/ColorSpaceTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<SkColorSpace> srgb = SkColorSpace::Make(&skcms_sRGB_profile); + sk_sp<SkColorSpace> srgb = SkColorSpace::Make(skcms_sRGB_profile()); REPORTER_ASSERT(r, srgb->isSRGB()); } #endif |