| Index: ui/gfx/color_space.h
|
| diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
|
| index e05fbc3124c572f9f1cea342343e343f9ff4c331..c9e9038619678dba0d9eee20f06ef66a75a8e7b3 100644
|
| --- a/ui/gfx/color_space.h
|
| +++ b/ui/gfx/color_space.h
|
| @@ -162,7 +162,7 @@ class GFX_EXPORT ColorSpace {
|
| bool operator<(const ColorSpace& other) const;
|
|
|
| // Note that this may return nullptr.
|
| - sk_sp<SkColorSpace> ToSkColorSpace() const;
|
| + const sk_sp<SkColorSpace>& ToSkColorSpace() const { return sk_color_space_; }
|
| static ColorSpace FromSkColorSpace(const sk_sp<SkColorSpace>& sk_color_space);
|
|
|
| private:
|
|
|