Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index f19d2cb62b1faa8f93e89f7209c3fc9bd1f0370f..285a73745cf94392e1abda6605b65d1f4bc99d1c 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -17,6 +17,7 @@ |
#include "SkPicture.h" |
#include "SkRegion.h" |
#include "GrContext.h" |
+#include "GrSurfacePriv.h" |
struct SkDrawProcs; |
struct GrSkDrawProcs; |
@@ -61,7 +62,7 @@ public: |
virtual GrRenderTarget* accessRenderTarget() SK_OVERRIDE; |
virtual SkImageInfo imageInfo() const SK_OVERRIDE { |
- return fRenderTarget ? fRenderTarget->info() : SkImageInfo::MakeUnknown(); |
+ return fRenderTarget ? fRenderTarget->surfacePriv().info() : SkImageInfo::MakeUnknown(); |
} |
virtual void clear(SkColor color) SK_OVERRIDE; |