Test factory uses the inorder draw buffer
BUG=skia:
Review URL: https://codereview.chromium.org/696353002
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp
index 10dc034..6013b16 100644
--- a/src/gpu/GrTest.cpp
+++ b/src/gpu/GrTest.cpp
@@ -8,7 +8,7 @@
#include "GrTest.h"
-#include "GrGpu.h"
+#include "GrInOrderDrawBuffer.h"
#include "GrResourceCache.h"
void GrTestTarget::init(GrContext* ctx, GrDrawTarget* target) {
@@ -28,7 +28,7 @@
// then disconnects. This would help prevent test writers from mixing using the returned
// GrDrawTarget and regular drawing. We could also assert or fail in GrContext drawing methods
// until ~GrTestTarget().
- tar->init(this, fGpu);
+ tar->init(this, fDrawBuffer);
}
///////////////////////////////////////////////////////////////////////////////