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

Unified Diff: cc/trees/layer_tree_host_unittest_context.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_context.cc
diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc
index 94f15c29cb398c695d389009ec1ffa768b2d753f..b3273181886ebaa780bb509758c0cccec0888af7 100644
--- a/cc/trees/layer_tree_host_unittest_context.cc
+++ b/cc/trees/layer_tree_host_unittest_context.cc
@@ -73,7 +73,7 @@ class LayerTreeHostContextTest : public LayerTreeTest {
}
virtual scoped_ptr<TestWebGraphicsContext3D> CreateContext3d() {
- return TestWebGraphicsContext3D::Create();
+ return TestWebGraphicsContext3D::CreateShared();
}
virtual scoped_ptr<OutputSurface> CreateOutputSurface() OVERRIDE {
@@ -125,7 +125,7 @@ class LayerTreeHostContextTest : public LayerTreeTest {
}
scoped_ptr<TestWebGraphicsContext3D> offscreen_context3d =
- TestWebGraphicsContext3D::Create().Pass();
+ TestWebGraphicsContext3D::CreateShared();
DCHECK(offscreen_context3d);
context3d_->add_share_group_context(offscreen_context3d.get());
« cc/test/test_web_graphics_context_3d.h ('K') | « cc/trees/layer_tree_host_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698