| Index: include/gpu/GrContextFactory.h | 
| diff --git a/include/gpu/GrContextFactory.h b/include/gpu/GrContextFactory.h | 
| index eff1f5834c039566e2865375ce46f5906b071095..d78120ccb0e265682d891bd07bdde5648c64c589 100644 | 
| --- a/include/gpu/GrContextFactory.h | 
| +++ b/include/gpu/GrContextFactory.h | 
| @@ -15,7 +15,7 @@ | 
| #if SK_MESA | 
| #include "gl/SkMesaGLContext.h" | 
| #endif | 
| -#include "gl/SkGLContext.h" | 
| +#include "gl/SkNativeGLContext.h" | 
| #include "gl/SkNullGLContext.h" | 
|  | 
| #include "GrContext.h" | 
| @@ -130,12 +130,12 @@ | 
| return fContexts[i].fGrContext; | 
| } | 
| } | 
| -        SkAutoTUnref<SkGLContext> glCtx; | 
| +        SkAutoTUnref<SkGLContextHelper> glCtx; | 
| SkAutoTUnref<GrContext> grCtx; | 
| switch (type) { | 
| case kNVPR_GLContextType: // fallthru | 
| case kNative_GLContextType: | 
| -                glCtx.reset(SkCreatePlatformGLContext()); | 
| +                glCtx.reset(SkNEW(SkNativeGLContext)); | 
| break; | 
| #ifdef SK_ANGLE | 
| case kANGLE_GLContextType: | 
| @@ -192,7 +192,7 @@ | 
|  | 
| // Returns the GLContext of the given type. If it has not been created yet, | 
| // NULL is returned instead. | 
| -    SkGLContext* getGLContext(GLContextType type) { | 
| +    SkGLContextHelper* getGLContext(GLContextType type) { | 
| for (int i = 0; i < fContexts.count(); ++i) { | 
| if (fContexts[i].fType == type) { | 
| return fContexts[i].fGLContext; | 
| @@ -207,7 +207,7 @@ | 
| private: | 
| struct GPUContext { | 
| GLContextType             fType; | 
| -        SkGLContext*              fGLContext; | 
| +        SkGLContextHelper*        fGLContext; | 
| GrContext*                fGrContext; | 
| }; | 
| SkTArray<GPUContext, true>    fContexts; | 
|  |