| Index: content/renderer/renderer_webkitplatformsupport_impl.cc
|
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| index 601fd5c367e2cad510eca51ccf594a3f0fab0f53..18d0bf271522500fc0399a2ac64c47128ee03496 100644
|
| --- a/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| +++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| @@ -940,9 +940,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;
|
|
|
| @@ -966,7 +973,8 @@ RendererWebKitPlatformSupportImpl::createOffscreenGraphicsContext3D(
|
| gpu_channel_host.get(),
|
| attributes,
|
| GURL(attributes.topDocumentURL),
|
| - limits);
|
| + limits,
|
| + static_cast<WebGraphicsContext3DCommandBufferImpl*>(share_context));
|
| }
|
|
|
| //------------------------------------------------------------------------------
|
|
|