| Index: tests/EGLImageTest.cpp | 
| diff --git a/tests/EGLImageTest.cpp b/tests/EGLImageTest.cpp | 
| index fdae3b32d1eb9e5e715c52833bf59a73a0c80888..b5754d8eb5ff130778096bc3a93cfc406196a31e 100644 | 
| --- a/tests/EGLImageTest.cpp | 
| +++ b/tests/EGLImageTest.cpp | 
| @@ -28,6 +28,7 @@ | 
| if (GR_EGL_NO_IMAGE != image1) { | 
| glctx1->destroyEGLImage(image1); | 
| } | 
| +        glctx1->unref(); | 
| } | 
|  | 
| glctx0->makeCurrent(); | 
| @@ -90,7 +91,7 @@ | 
| return; | 
| } | 
|  | 
| -    SkAutoTDelete<SkGLContext> glCtx1 = glCtx0->createNew(); | 
| +    SkGLContext* glCtx1 = glCtx0->createNew(); | 
| if (!glCtx1) { | 
| return; | 
| } | 
|  |