Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: src/core/SkColorSpace_Base.h

Issue 2005263002: SkColorSpace tweaks (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkColorSpace.cpp ('k') | tests/ColorSpaceTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « src/core/SkColorSpace.cpp ('k') | tests/ColorSpaceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698