Index: tests/EGLImageTest.cpp |
diff --git a/tests/EGLImageTest.cpp b/tests/EGLImageTest.cpp |
index f19592c5304bb6cfd68069dbac98454ff6344308..7f0d7ea37685fe4be1601fedee0df0daac735a4f 100644 |
--- a/tests/EGLImageTest.cpp |
+++ b/tests/EGLImageTest.cpp |
@@ -11,9 +11,11 @@ |
#include "GrContextFactory.h" |
#include "gl/GrGLGpu.h" |
#include "gl/GrGLUtil.h" |
-#include "gl/SkGLContext.h" |
+#include "gl/GLContext.h" |
-static void cleanup(SkGLContext* glctx0, GrGLuint texID0, SkGLContext* glctx1, GrContext* grctx1, |
+using sk_gpu_test::GLContext; |
+ |
+static void cleanup(GLContext* glctx0, GrGLuint texID0, GLContext* glctx1, GrContext* grctx1, |
const GrGLTextureInfo* grbackendtex1, GrEGLImage image1) { |
if (glctx1) { |
glctx1->makeCurrent(); |
@@ -91,7 +93,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(EGLImageTest, reporter, context0, glCtx0) { |
return; |
} |
- SkAutoTDelete<SkGLContext> glCtx1 = glCtx0->createNew(); |
+ SkAutoTDelete<GLContext> glCtx1 = glCtx0->createNew(); |
if (!glCtx1) { |
return; |
} |