diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-24 01:12:26 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-24 01:12:26 +0000 |
commit | f89e173a4f627502b345ffb0070edd292614c169 (patch) | |
tree | 6fb4d0c67e9cf58f0fa04c2eda2f02d05f872bba | |
parent | fd5b7e5247f197727c684941d585b48bb90d40ea (diff) | |
download | chromium_src-f89e173a4f627502b345ffb0070edd292614c169.zip chromium_src-f89e173a4f627502b345ffb0070edd292614c169.tar.gz chromium_src-f89e173a4f627502b345ffb0070edd292614c169.tar.bz2 |
Remove lingering WebViewClient::createGraphicsContext3D references
This API is deprecated and going away soon upstream. render_view_impl
hasn't actually implemented this API, it just had some lingering comments.
TestWebViewDelegate implemented this API, but nobody using TWVD depended on
it.
BUG=
Review URL: https://chromiumcodereview.appspot.com/10867041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153135 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/renderer/render_view_impl.cc | 4 | ||||
-rw-r--r-- | content/renderer/render_view_impl.h | 2 | ||||
-rw-r--r-- | webkit/tools/test_shell/test_webview_delegate.cc | 6 | ||||
-rw-r--r-- | webkit/tools/test_shell/test_webview_delegate.h | 2 |
4 files changed, 3 insertions, 11 deletions
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc index 3c9e785..04f2a96 100644 --- a/content/renderer/render_view_impl.cc +++ b/content/renderer/render_view_impl.cc @@ -3629,7 +3629,7 @@ WebGraphicsContext3D* RenderViewImpl::CreateGraphicsContext3D( if (webview()->mainFrame()) url = GURL(webview()->mainFrame()->document().url()); else - url = GURL("chrome://gpu/RenderViewImpl::createGraphicsContext3D"); + url = GURL("chrome://gpu/RenderViewImpl::CreateGraphicsContext3D"); scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context( new WebGraphicsContext3DCommandBufferImpl( @@ -5344,7 +5344,7 @@ void RenderViewImpl::OnWasShown(bool needs_repainting) { bool RenderViewImpl::SupportsAsynchronousSwapBuffers() { // Contexts using the command buffer support asynchronous swapbuffers. - // See RenderViewImpl::createGraphicsContext3D(). + // See RenderViewImpl::createOutputSurface(). if (WebWidgetHandlesCompositorScheduling() || CommandLine::ForCurrentProcess()->HasSwitch(switches::kInProcessWebGL)) return false; diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h index 8d64903..fd20832 100644 --- a/content/renderer/render_view_impl.h +++ b/content/renderer/render_view_impl.h @@ -1468,7 +1468,7 @@ class RenderViewImpl : public RenderWidget, // This graphics context is initialized once GuestReady() is called. WebGraphicsContext3DCommandBufferImpl* guest_uninitialized_context_; - // These are the attributes originally passed into createGraphicsContext3D + // These are the attributes originally passed into createOutputSurface // before the guest_to_embedder_channel was ready. WebKit::WebGraphicsContext3D::Attributes guest_attributes_; diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc index 8e90a2c..476e6ce 100644 --- a/webkit/tools/test_shell/test_webview_delegate.cc +++ b/webkit/tools/test_shell/test_webview_delegate.cc @@ -339,12 +339,6 @@ WebStorageNamespace* TestWebViewDelegate::createSessionStorageNamespace( return SimpleDomStorageSystem::instance().CreateSessionStorageNamespace(); } -WebGraphicsContext3D* TestWebViewDelegate::createGraphicsContext3D( - const WebGraphicsContext3D::Attributes& attributes) { - return webkit::gpu::WebGraphicsContext3DInProcessImpl::CreateForWebView( - attributes, true); -} - void TestWebViewDelegate::didAddMessageToConsole( const WebConsoleMessage& message, const WebString& source_name, unsigned source_line) { diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h index 019e84e..cc018d9 100644 --- a/webkit/tools/test_shell/test_webview_delegate.h +++ b/webkit/tools/test_shell/test_webview_delegate.h @@ -88,8 +88,6 @@ class TestWebViewDelegate : public WebKit::WebViewClient, const WebKit::WebPopupMenuInfo& info); virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( unsigned quota); - virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D( - const WebKit::WebGraphicsContext3D::Attributes& attributes); virtual void didAddMessageToConsole( const WebKit::WebConsoleMessage& message, const WebKit::WebString& source_name, unsigned source_line); |