| Index: content/common/webkitplatformsupport_impl.cc
|
| diff --git a/content/common/webkitplatformsupport_impl.cc b/content/common/webkitplatformsupport_impl.cc
|
| index 0b83378585d8b6e0f6a73278bed198c46f99e88a..7d7cd798251773a846dfc8cf1e8133d45467f018 100644
|
| --- a/content/common/webkitplatformsupport_impl.cc
|
| +++ b/content/common/webkitplatformsupport_impl.cc
|
| @@ -61,12 +61,21 @@ WebKitPlatformSupportImpl::createOffscreenGraphicsContext3D(
|
| attributes, false);
|
| } else {
|
| base::WeakPtr<WebGraphicsContext3DSwapBuffersClient> null_client;
|
| + GpuChannelHostFactory* factory = GetGpuChannelHostFactory();
|
| + if (!factory)
|
| + return NULL;
|
| scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context(
|
| - new WebGraphicsContext3DCommandBufferImpl(0, GURL(), null_client));
|
| + new WebGraphicsContext3DCommandBufferImpl(
|
| + 0, GURL(), factory, null_client));
|
| if (!context->Initialize(attributes))
|
| return NULL;
|
| return context.release();
|
| }
|
| }
|
|
|
| +GpuChannelHostFactory* WebKitPlatformSupportImpl::GetGpuChannelHostFactory() {
|
| + NOTREACHED();
|
| + return NULL;
|
| +}
|
| +
|
| } // namespace content
|
|
|