Stop using WebGraphicsContext3DInProcessImpl in webkit/
This class is being replaced by
WebGraphicsContext3DInProcessCommandBufferImpl, and these contexts
are all offscreen so we are able to replace them now.
R=jamesr
BUG=224665
Review URL: https://chromiumcodereview.appspot.com/13292002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191330 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index b12d3cf..d7daba4 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -54,7 +54,6 @@
#include "ui/surface/transport_dib.h"
#include "webkit/compositor_bindings/web_rendering_stats_impl.h"
#include "webkit/glue/webkit_glue.h"
-#include "webkit/gpu/webgraphicscontext3d_in_process_impl.h"
#include "webkit/plugins/npapi/webplugin.h"
#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
@@ -570,7 +569,7 @@
attributes.antialias = false;
attributes.shareResources = true;
attributes.noAutomaticFlushes = true;
- WebGraphicsContext3D* context = CreateGraphicsContext3D(attributes);
+ WebKit::WebGraphicsContext3D* context = CreateGraphicsContext3D(attributes);
if (!context)
return scoped_ptr<cc::OutputSurface>();
@@ -2297,8 +2296,8 @@
return true;
}
-WebGraphicsContext3D* RenderWidget::CreateGraphicsContext3D(
- const WebGraphicsContext3D::Attributes& attributes) {
+WebKit::WebGraphicsContext3D* RenderWidget::CreateGraphicsContext3D(
+ const WebKit::WebGraphicsContext3D::Attributes& attributes) {
if (!webwidget_)
return NULL;
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context(