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

Unified Diff: trunk/src/webkit/support/webkit_support.cc

Issue 12915008: Revert 189820 "Lazy initialize WGC3DInProcessCommandBufferImpl". Causing checkfailures. (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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
« no previous file with comments | « trunk/src/webkit/support/webkit_support.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/webkit/support/webkit_support.cc
===================================================================
--- trunk/src/webkit/support/webkit_support.cc (revision 189974)
+++ trunk/src/webkit/support/webkit_support.cc (working copy)
@@ -495,6 +495,16 @@
}
}
+WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
+ const WebKit::WebGraphicsContext3D::Attributes& attributes,
+ WebKit::WebView* web_view) {
+ scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context(
+ new WebGraphicsContext3DInProcessCommandBufferImpl());
+ if (!context->Initialize(attributes, NULL))
+ return NULL;
+ return context.release();
+}
+
WebKit::WebLayerTreeView* CreateLayerTreeView(
LayerTreeViewType type,
DRTLayerTreeViewClient* client,
« no previous file with comments | « trunk/src/webkit/support/webkit_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698