Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(564)

Unified Diff: webkit/tools/test_shell/test_webview_delegate.cc

Issue 9443003: Remove dead WebGraphicsContext3D initialization code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile errors Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(
« webkit/support/webkit_support.h ('K') | « webkit/tools/test_shell/test_shell_webkit_init.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698