diff options
author | Matt Sarett <msarett@google.com> | 2017-02-10 15:11:12 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-10 22:53:06 +0000 |
commit | 3e50027f2269195a08e6dd861f504ec5b90b4279 (patch) | |
tree | 1c1a2b64eb1e291a036bc5ac71feed4bad851bb1 /src | |
parent | 75864b09e11a1918f202093d042f23ca0b3c8530 (diff) |
Delete legacy named color space API
BUG=skia:
Change-Id: I3a41b5affdfad830cea969a1e4932794d27f4f7a
Reviewed-on: https://skia-review.googlesource.com/8331
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkColorSpace.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/SkColorSpace.cpp b/src/core/SkColorSpace.cpp index 645410c496..6c0890f178 100644 --- a/src/core/SkColorSpace.cpp +++ b/src/core/SkColorSpace.cpp @@ -199,12 +199,6 @@ static SkColorSpace* gAdobeRGB; static SkColorSpace* gSRGB; static SkColorSpace* gSRGBLinear; -#ifdef SK_USE_LEGACY_NAMED_COLOR_SPACE -sk_sp<SkColorSpace> SkColorSpace::MakeNamed(Named named) { - return SkColorSpace_Base::MakeNamed((SkColorSpace_Base::Named) named); -} -#endif - sk_sp<SkColorSpace> SkColorSpace_Base::MakeNamed(Named named) { static SkOnce sRGBOnce; static SkOnce adobeRGBOnce; |