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

Unified Diff: trunk/src/webkit/gpu/context_provider_in_process.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
Index: trunk/src/webkit/gpu/context_provider_in_process.cc
===================================================================
--- trunk/src/webkit/gpu/context_provider_in_process.cc (revision 189974)
+++ trunk/src/webkit/gpu/context_provider_in_process.cc (working copy)
@@ -60,8 +60,9 @@
attributes.noAutomaticFlushes = true;
context3d_.reset(
- new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl(
- attributes));
+ new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl());
+ if (!context3d_->Initialize(attributes, NULL))
+ context3d_.reset();
return context3d_;
}
« no previous file with comments | « trunk/src/cc/test/pixel_test.cc ('k') | trunk/src/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698