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

Unified Diff: cc/test/pixel_test.cc

Issue 12908004: Lazy initialize WGC3DInProcessCommandBufferImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GLInProcessContext no longer has WeakPtr 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: cc/test/pixel_test.cc
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index 562dbebfe0a5c4d4701b29420cadd2977c6c6bb6..94ace03096bd5ff0dc8cbc174ebbca64ac84b8c6 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -58,8 +58,8 @@ void PixelTest::SetUp() {
scoped_ptr<webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl>
context3d(
- new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl);
- context3d->Initialize(WebKit::WebGraphicsContext3D::Attributes(), NULL);
+ new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl(
+ WebKit::WebGraphicsContext3D::Attributes()));
output_surface_.reset(new OutputSurface(
context3d.PassAs<WebKit::WebGraphicsContext3D>()));
resource_provider_ = ResourceProvider::Create(output_surface_.get());

Powered by Google App Engine
This is Rietveld 408576698