| Index: include/gpu/gl/SkNullGLContext.h
|
| diff --git a/include/gpu/gl/SkNullGLContext.h b/include/gpu/gl/SkNullGLContext.h
|
| index 1f634382641ec02dd336304f754a80c1ac78b5e2..ad005f49c03c918ca6fa238a67adc7f866cdd72f 100644
|
| --- a/include/gpu/gl/SkNullGLContext.h
|
| +++ b/include/gpu/gl/SkNullGLContext.h
|
| @@ -14,7 +14,12 @@ class SK_API SkNullGLContext : public SkGLContext {
|
| public:
|
| ~SkNullGLContext() override;
|
|
|
| - static SkNullGLContext* Create(GrGLStandard);
|
| + static SkNullGLContext* Create();
|
| + // FIXME: remove once Chromium has been updated.
|
| + static SkNullGLContext* Create(GrGLStandard forcedAPI) {
|
| + SkASSERT(forcedAPI == kNone_GrGLStandard);
|
| + return Create();
|
| + }
|
|
|
| class ContextState;
|
|
|
|
|