Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: src/gpu/GrTest.h

Issue 1441533003: Update testing frameworks/tests for MDB (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix ref counting bug Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrDrawingManager.cpp ('k') | src/gpu/GrTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/gpu/GrDrawingManager.cpp ('k') | src/gpu/GrTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698