| Index: dm/DMGpuSupport.h | 
| diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h | 
| index 46896b43217f91b623a494b55f437dfa510d03bf..bcc00c27e46454c123821b7962fff3d196a5c078 100644 | 
| --- a/dm/DMGpuSupport.h | 
| +++ b/dm/DMGpuSupport.h | 
| @@ -19,9 +19,10 @@ static const bool kGPUDisabled = false; | 
|  | 
| static inline SkSurface* NewGpuSurface(GrContextFactory* grFactory, | 
| GrContextFactory::GLContextType type, | 
| +                                       GrGLStandard gpuAPI, | 
| SkImageInfo info, | 
| int samples) { | 
| -    return SkSurface::NewRenderTarget(grFactory->get(type), info, samples); | 
| +    return SkSurface::NewRenderTarget(grFactory->get(type, gpuAPI), info, samples); | 
| } | 
|  | 
| }  // namespace DM | 
| @@ -30,6 +31,12 @@ static inline SkSurface* NewGpuSurface(GrContextFactory* grFactory, | 
|  | 
| // Ganesh is not available.  Fake it. | 
|  | 
| +enum GrGLStandard { | 
| +    kNone_GrGLStandard, | 
| +    kGL_GrGLStandard, | 
| +    kGLES_GrGLStandard | 
| +}; | 
| + | 
| class GrContextFactory { | 
| public: | 
| typedef int GLContextType; | 
| @@ -48,6 +55,7 @@ static const bool kGPUDisabled = true; | 
|  | 
| static inline SkSurface* NewGpuSurface(GrContextFactory*, | 
| GrContextFactory::GLContextType, | 
| +                                       GrGLStandard, | 
| SkImageInfo, | 
| int) { | 
| return NULL; | 
|  |