Index: src/gpu/GrTest.h |
diff --git a/src/gpu/GrTest.h b/src/gpu/GrTest.h |
index 7b0d564c77050dc812b48b01c52ba7db2df1d194..eb1d7de25dcb2a943cddf8ced6b0db3de55057a9 100644 |
--- a/src/gpu/GrTest.h |
+++ b/src/gpu/GrTest.h |
@@ -23,6 +23,7 @@ public: |
void init(GrContext*, GrDrawTarget*); |
GrDrawTarget* target() { return fDrawTarget.get(); } |
+ GrResourceProvider* resourceProvider() { return fContext->resourceProvider(); } |
private: |
SkAutoTUnref<GrDrawTarget> fDrawTarget; |