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