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

Unified Diff: chrome/renderer/renderer_webkitclient_impl.cc

Issue 6100009: Move the in-process WebGL implementation from the WebKit to the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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: chrome/renderer/renderer_webkitclient_impl.cc
===================================================================
--- chrome/renderer/renderer_webkitclient_impl.cc (revision 70951)
+++ chrome/renderer/renderer_webkitclient_impl.cc (working copy)
@@ -42,6 +42,7 @@
#include "webkit/glue/webclipboard_impl.h"
#include "webkit/glue/webfileutilities_impl.h"
#include "webkit/glue/webkit_glue.h"
+#include "webkit/gpu/webgraphicscontext3d_in_process_impl.h"
#if defined(OS_WIN)
#include "third_party/WebKit/WebKit/chromium/public/win/WebSandboxSupport.h"
@@ -504,11 +505,11 @@
WebKit::WebGraphicsContext3D*
RendererWebKitClientImpl::createGraphicsContext3D() {
- // The WebGraphicsContext3D::createDefault code path is used for
+ // The WebGraphicsContext3DInProcessImpl code path is used for
// layout tests (though not through this code) as well as for
// debugging and bringing up new ports.
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kInProcessWebGL)) {
- return WebKit::WebGraphicsContext3D::createDefault();
+ return new webkit_gpu::WebGraphicsContext3DInProcessImpl();
} else {
#if defined(ENABLE_GPU)
return new WebGraphicsContext3DCommandBufferImpl();

Powered by Google App Engine
This is Rietveld 408576698