Index: src/gpu/GrTest.h |
diff --git a/src/gpu/GrTest.h b/src/gpu/GrTest.h |
index 92bfb137503686e8dbcf8b41377b4d1a60fa6586..297f51c11369e163be15a4d61a3dd1c887ec7f2c 100644 |
--- a/src/gpu/GrTest.h |
+++ b/src/gpu/GrTest.h |
@@ -28,14 +28,15 @@ class GrTestTarget { |
public: |
GrTestTarget() {}; |
- void init(GrContext*, GrDrawTarget*); |
+ void init(GrContext*, GrDrawTarget*, GrRenderTarget*); |
GrDrawTarget* target() { return fDrawTarget.get(); } |
GrResourceProvider* resourceProvider() { return fContext->resourceProvider(); } |
private: |
- SkAutoTUnref<GrDrawTarget> fDrawTarget; |
SkAutoTUnref<GrContext> fContext; |
+ SkAutoTUnref<GrDrawTarget> fDrawTarget; |
+ SkAutoTUnref<GrRenderTarget> fRenderTarget; |
}; |
#endif |