Chromium Code Reviews| Index: include/core/SkColorSpace.h |
| diff --git a/include/core/SkColorSpace.h b/include/core/SkColorSpace.h |
| index 045117552626b55373074c6fa3c94d3b02295c9e..4abcdfad6c3f72208a9d6a422c8abd5898357e77 100644 |
| --- a/include/core/SkColorSpace.h |
| +++ b/include/core/SkColorSpace.h |
| @@ -66,7 +66,12 @@ public: |
| /** |
| * Returns the matrix used to transform src gamut to XYZ D50. |
| */ |
| - const SkMatrix44& xyz() const { return fToXYZD50; } |
| + const SkMatrix44& toXYZD50() const { return fToXYZD50; } |
| + |
| + /** |
| + * DEPRECATED - use toXYZD50 instead |
| + */ |
| + const SkMatrix44& xyz() const { return toXYZD50(); } |
|
msarett
2016/09/08 15:35:21
I think you can go ahead and remove this. Trybot
|
| /** |
| * Returns true if the color space gamma is near enough to be approximated as sRGB. |