| Index: content/common/webkitplatformsupport_impl.cc
|
| diff --git a/content/common/webkitplatformsupport_impl.cc b/content/common/webkitplatformsupport_impl.cc
|
| index 6309d9c171b1112fd4328139a781f00d0c13f899..7cdc2b3bae68435bdbe7bccb283753befa237fb4 100644
|
| --- a/content/common/webkitplatformsupport_impl.cc
|
| +++ b/content/common/webkitplatformsupport_impl.cc
|
| @@ -9,6 +9,7 @@
|
| #include "content/common/webkitplatformsupport_impl.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/public/common/content_switches.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
|
| #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h"
|
|
|
| namespace content {
|
| @@ -59,10 +60,16 @@ WebKitPlatformSupportImpl::CreateWebSocketBridge(
|
|
|
| WebKit::WebGraphicsContext3D*
|
| WebKitPlatformSupportImpl::createOffscreenGraphicsContext3D(
|
| - const WebGraphicsContext3D::Attributes& attributes) {
|
| + const WebGraphicsContext3D::Attributes& attributes,
|
| + WebKit::WebView* webView) {
|
| // The WebGraphicsContext3DInProcessImpl code path is used for
|
| // layout tests (though not through this code) as well as for
|
| // debugging and bringing up new ports.
|
| +
|
| + // The webView parameter is currently unsued by will be used by the
|
| + // <browser> plugin code, which is currently a separate patch.
|
| + (void) webView;
|
| +
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kInProcessWebGL)) {
|
| return webkit::gpu::WebGraphicsContext3DInProcessImpl::CreateForWebView(
|
| attributes, false);
|
|
|