| Index: webkit/tools/test_shell/test_webview_delegate.cc
|
| diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
|
| index 5baf7445b01a939f7b089b200cc4d68514d41291..1bafbaeaa80bf840aa285a138f0d22bc75c2bc6b 100644
|
| --- a/webkit/tools/test_shell/test_webview_delegate.cc
|
| +++ b/webkit/tools/test_shell/test_webview_delegate.cc
|
| @@ -341,10 +341,8 @@ WebStorageNamespace* TestWebViewDelegate::createSessionStorageNamespace(
|
| WebGraphicsContext3D* TestWebViewDelegate::createGraphicsContext3D(
|
| const WebGraphicsContext3D::Attributes& attributes,
|
| bool direct) {
|
| - if (!shell_->webView())
|
| - return NULL;
|
| return webkit::gpu::WebGraphicsContext3DInProcessImpl::CreateForWebView(
|
| - attributes, shell_->webView(), direct);
|
| + attributes, direct);
|
| }
|
|
|
| void TestWebViewDelegate::didAddMessageToConsole(
|
|
|