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

Unified Diff: cc/test/layer_tree_pixel_test.cc

Issue 12908004: Lazy initialize WGC3DInProcessCommandBufferImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: explicit constructor 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 | « no previous file | cc/test/pixel_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_pixel_test.cc
diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc
index bb8e64e0f8d65f58e7b53b293a0975ba2c266b69..7cbbfd419387cc58324a6ef460ebe9b5a5532c42 100644
--- a/cc/test/layer_tree_pixel_test.cc
+++ b/cc/test/layer_tree_pixel_test.cc
@@ -23,8 +23,8 @@ scoped_ptr<OutputSurface> LayerTreePixelTest::CreateOutputSurface() {
using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl;
scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context3d(
- new WebGraphicsContext3DInProcessCommandBufferImpl);
- context3d->Initialize(WebKit::WebGraphicsContext3D::Attributes(), NULL);
+ new WebGraphicsContext3DInProcessCommandBufferImpl(
+ WebKit::WebGraphicsContext3D::Attributes()));
return make_scoped_ptr(
new OutputSurface(context3d.PassAs<WebKit::WebGraphicsContext3D>()));
}
« no previous file with comments | « no previous file | cc/test/pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698