Index: src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp |
diff --git a/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp b/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp |
index 41585c8632ece4da3b1cfc5ccdcaa0e69853d93c..6142c84ab7fc83a19014408f62e024dcfe7a31a3 100644 |
--- a/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp |
+++ b/src/gpu/gl/mac/SkCreatePlatformGLContext_mac.cpp |
@@ -109,7 +109,8 @@ GrGLFuncPtr MacGLContext::onPlatformGetProcAddress(const char* procName) const { |
} // anonymous namespace |
-SkGLContext* SkCreatePlatformGLContext(GrGLStandard forcedGpuAPI) { |
+SkGLContext* SkCreatePlatformGLContext(GrGLStandard forcedGpuAPI, SkGLContext* shareContext) { |
+ SkASSERT(!shareContext); |
if (kGLES_GrGLStandard == forcedGpuAPI) { |
return nullptr; |
} |