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

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 14048018: Add create WGC3DInProcessCommandBuffer for on-screen context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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/support/test_webkit_platform_support.cc
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc
index a12bd6a5f200dc0333863818253897cee906e488..c615405b0a42badc4cf0406b886e237c18e18918 100644
--- a/webkit/support/test_webkit_platform_support.cc
+++ b/webkit/support/test_webkit_platform_support.cc
@@ -371,7 +371,8 @@ WebKit::WebGraphicsContext3D*
TestWebKitPlatformSupport::createOffscreenGraphicsContext3D(
const WebKit::WebGraphicsContext3D::Attributes& attributes) {
using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl;
- return new WebGraphicsContext3DInProcessCommandBufferImpl(attributes);
+ return WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext(
+ attributes);
}
WebKit::WebGraphicsContext3D*

Powered by Google App Engine
This is Rietveld 408576698