Index: src/core/SkColorSpace_Base.h |
diff --git a/src/core/SkColorSpace_Base.h b/src/core/SkColorSpace_Base.h |
index 63588c42ae5892d584d5d07b1cbd0fb2572ab8e2..535ec3b527e142de44850a557d4c58e5afaadeb9 100644 |
--- a/src/core/SkColorSpace_Base.h |
+++ b/src/core/SkColorSpace_Base.h |
@@ -9,6 +9,7 @@ |
#define SkColorSpace_Base_DEFINED |
#include "SkColorSpace.h" |
+#include "SkTemplates.h" |
struct SkGammaCurve { |
bool isValue() const { |
@@ -113,7 +114,7 @@ struct SkColorLookUpTable { |
class SkColorSpace_Base : public SkColorSpace { |
public: |
- SkGammas* gammas() const { return fGammas.get(); } |
+ const sk_sp<SkGammas>& gammas() const { return fGammas; } |
private: |