Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index 10dc0346576fe64a4a7e101614feb1d7abb571cf..6013b1636bf41a0b012fd37faf82c34e88d1678d 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 @@ void GrContext::getTestTarget(GrTestTarget* tar) { |
// 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); |
} |
/////////////////////////////////////////////////////////////////////////////// |