Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index 8dafcfcb34b3f4dc6496f1420db76cca772614be..6b520e71742b2784ae4524e1dbaca598346decf0 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -57,7 +57,7 @@ public: |
return static_cast<SkGpuDevice*>(dev); |
} |
- GrContext* context() const { return fRenderTarget->getContext(); } |
+ GrContext* context() const { return fContext; } |
// set all pixels to 0 |
void clearAll(); |