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

Unified Diff: cc/trees/layer_tree_host_unittest.cc

Issue 18796008: Implement shareResources==true in TestWebGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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/trees/layer_tree_host_unittest.cc
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index b6a7806860d7bed498eebd8588e5214d09499669..fa91ef77cd01bb18274df46d70fe22055caaf4d6 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -3045,7 +3045,7 @@ class LayerTreeHostTestDeferredInitialize : public LayerTreeHostTest {
virtual scoped_ptr<OutputSurface> CreateOutputSurface() OVERRIDE {
scoped_ptr<TestWebGraphicsContext3D> context3d(
- TestWebGraphicsContext3D::Create());
+ TestWebGraphicsContext3D::CreateShared());
context3d->set_support_swapbuffers_complete_callback(false);
return FakeOutputSurface::CreateDeferredGL(
@@ -3085,7 +3085,7 @@ class LayerTreeHostTestDeferredInitialize : public LayerTreeHostTest {
EXPECT_TRUE(static_cast<FakeOutputSurface*>(host_impl->output_surface())
->SetAndInitializeContext3D(
scoped_ptr<WebKit::WebGraphicsContext3D>(
- TestWebGraphicsContext3D::Create())));
+ TestWebGraphicsContext3D::CreateShared())));
did_initialize_gl_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698