| Index: content/common/webkitplatformsupport_impl.h
|
| diff --git a/content/common/webkitplatformsupport_impl.h b/content/common/webkitplatformsupport_impl.h
|
| index 889fb753da73c7a6828c2cd6a6f5c007650c4594..67cba13b8e3d8e630124cae54fa67a998dac90f5 100644
|
| --- a/content/common/webkitplatformsupport_impl.h
|
| +++ b/content/common/webkitplatformsupport_impl.h
|
| @@ -11,7 +11,6 @@
|
| #include "webkit/glue/webkitplatformsupport_impl.h"
|
|
|
| namespace content {
|
| -class GpuChannelHostFactory;
|
|
|
| // This is a specialization of WebKitPlatformSupportImpl that implements the
|
| // embedder functions in terms of ContentClient.
|
| @@ -35,14 +34,13 @@ class CONTENT_EXPORT WebKitPlatformSupportImpl
|
| virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge(
|
| WebKit::WebSocketStreamHandle* handle,
|
| webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE;
|
| - virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
|
| - const WebKit::WebGraphicsContext3D::Attributes& attributes);
|
|
|
| + // Override the offscreen context creation for the renderer.
|
| static void SetOffscreenContextFactoryForTest(
|
| OffscreenContextFactory factory);
|
|
|
| protected:
|
| - virtual GpuChannelHostFactory* GetGpuChannelHostFactory();
|
| + static OffscreenContextFactory* OffscreenContextFactoryForTest();
|
| };
|
|
|
| } // namespace content
|
|
|