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

Unified Diff: trunk/src/cc/test/pixel_test.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/cc/test/layer_tree_pixel_test.cc ('k') | trunk/src/webkit/gpu/context_provider_in_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/test/pixel_test.cc
===================================================================
--- trunk/src/cc/test/pixel_test.cc (revision 189974)
+++ trunk/src/cc/test/pixel_test.cc (working copy)
@@ -58,8 +58,8 @@
scoped_ptr<webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl>
context3d(
- new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl(
- WebKit::WebGraphicsContext3D::Attributes()));
+ new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl);
+ context3d->Initialize(WebKit::WebGraphicsContext3D::Attributes(), NULL);
output_surface_.reset(new OutputSurface(
context3d.PassAs<WebKit::WebGraphicsContext3D>()));
resource_provider_ = ResourceProvider::Create(output_surface_.get());
« no previous file with comments | « trunk/src/cc/test/layer_tree_pixel_test.cc ('k') | trunk/src/webkit/gpu/context_provider_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698