aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GrMeshTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GrMeshTest.cpp')
-rw-r--r--tests/GrMeshTest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/GrMeshTest.cpp b/tests/GrMeshTest.cpp
index e612fb4b5f..4535f13975 100644
--- a/tests/GrMeshTest.cpp
+++ b/tests/GrMeshTest.cpp
@@ -15,6 +15,7 @@
#include "GrContextPriv.h"
#include "GrGeometryProcessor.h"
#include "GrGpuCommandBuffer.h"
+#include "GrMemoryPool.h"
#include "GrOpFlushState.h"
#include "GrRenderTargetContext.h"
#include "GrRenderTargetContextPriv.h"
@@ -261,6 +262,8 @@ public:
}
private:
+ friend class GrOpMemoryPool; // for ctor
+
GrMeshTestOp(std::function<void(DrawMeshHelper*)> testFn)
: INHERITED(ClassID())
, fTestFn(testFn) {