summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
diff options
context:
space:
mode:
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-19 13:29:04 +0000
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-19 13:29:04 +0000
commit856135eb6a6c8ea36f8375ca5fce5526b726200a (patch)
treed978ea4412d99e125882f2c48c37d611d143b9b5 /webkit/tools/test_shell
parent00b70e0ef54d46ccf1acc8d313868e75f6e9cd74 (diff)
downloadchromium_src-856135eb6a6c8ea36f8375ca5fce5526b726200a.zip
chromium_src-856135eb6a6c8ea36f8375ca5fce5526b726200a.tar.gz
chromium_src-856135eb6a6c8ea36f8375ca5fce5526b726200a.tar.bz2
Add create WGC3DInProcessCommandBuffer for on-screen context
The on-screen path will be by Android WebView for hardware draws. BUG=166777 Review URL: https://chromiumcodereview.appspot.com/14048018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r--webkit/tools/test_shell/test_shell_webkit_init.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/test_shell_webkit_init.cc b/webkit/tools/test_shell/test_shell_webkit_init.cc
index f09e117..2dcbb6c 100644
--- a/webkit/tools/test_shell/test_shell_webkit_init.cc
+++ b/webkit/tools/test_shell/test_shell_webkit_init.cc
@@ -266,7 +266,8 @@ WebKit::WebIDBFactory* TestShellWebKitInit::idbFactory() {
WebKit::WebGraphicsContext3D*
TestShellWebKitInit::createOffscreenGraphicsContext3D(
const WebKit::WebGraphicsContext3D::Attributes& attributes) {
- return new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl(
+ using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl;
+ return WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext(
attributes);
}