aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrSurfaceContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrSurfaceContext.h')
-rw-r--r--include/gpu/GrSurfaceContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrSurfaceContext.h b/include/gpu/GrSurfaceContext.h
index 24041e8829..ed049be506 100644
--- a/include/gpu/GrSurfaceContext.h
+++ b/include/gpu/GrSurfaceContext.h
@@ -34,7 +34,7 @@ public:
SkColorSpace* getColorSpace() const { return fColorSpace.get(); }
sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; }
- bool isGammaCorrect() const { return SkToBool(fColorSpace.get()); }
+ bool isGammaCorrect() const;
// TODO: these two calls would be way cooler if this object had a GrSurfaceProxy pointer
int width() const { return this->asSurfaceProxy()->width(); }