| Index: content/renderer/renderer_webkitplatformsupport_impl.cc
|
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| index 1a30a6df5eee9a30b73672504623ac642010b47f..8697939a6205ff6fb5258303e3adc6cfb30a708f 100644
|
| --- a/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| +++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| @@ -926,9 +926,16 @@ bool RendererWebKitPlatformSupportImpl::processMemorySizesInBytes(
|
|
|
| //------------------------------------------------------------------------------
|
|
|
| +
|
| blink::WebGraphicsContext3D*
|
| RendererWebKitPlatformSupportImpl::createOffscreenGraphicsContext3D(
|
| +#ifdef ENABLE_EXPLICIT_GL_SHARE_GROUPS
|
| + const blink::WebGraphicsContext3D::Attributes& attributes,
|
| + blink::WebGraphicsContext3D* share_context) {
|
| +#else
|
| const blink::WebGraphicsContext3D::Attributes& attributes) {
|
| + blink::WebGraphicsContext3D* share_context = NULL;
|
| +#endif
|
| if (!RenderThreadImpl::current())
|
| return NULL;
|
|
|
| @@ -952,7 +959,8 @@ RendererWebKitPlatformSupportImpl::createOffscreenGraphicsContext3D(
|
| gpu_channel_host.get(),
|
| attributes,
|
| GURL(attributes.topDocumentURL),
|
| - limits);
|
| + limits,
|
| + share_context);
|
| }
|
|
|
| //------------------------------------------------------------------------------
|
|
|