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

Unified Diff: cc/layers/picture_layer_impl_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
« no previous file with comments | « no previous file | cc/layers/scrollbar_layer_unittest.cc » ('j') | cc/test/test_web_graphics_context_3d.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl_unittest.cc
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc
index 855fa56328159a9fcc6a37a5fd978cbe81da14cd..8d2eda140e2a5c116d09a17f0ff8b50980365757 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -802,7 +802,7 @@ TEST_F(PictureLayerImplTest, ClampTilesToToMaxTileSize) {
// Change the max texture size on the output surface context.
scoped_ptr<TestWebGraphicsContext3D> context =
- TestWebGraphicsContext3D::Create();
+ TestWebGraphicsContext3D::CreateShared();
context->set_max_texture_size(140);
host_impl_.InitializeRenderer(FakeOutputSurface::Create3d(
context.PassAs<WebKit::WebGraphicsContext3D>()).PassAs<OutputSurface>());
@@ -853,7 +853,7 @@ TEST_F(PictureLayerImplTest, ClampSingleTileToToMaxTileSize) {
// Change the max texture size on the output surface context.
scoped_ptr<TestWebGraphicsContext3D> context =
- TestWebGraphicsContext3D::Create();
+ TestWebGraphicsContext3D::CreateShared();
context->set_max_texture_size(140);
host_impl_.InitializeRenderer(FakeOutputSurface::Create3d(
context.PassAs<WebKit::WebGraphicsContext3D>()).PassAs<OutputSurface>());
« no previous file with comments | « no previous file | cc/layers/scrollbar_layer_unittest.cc » ('j') | cc/test/test_web_graphics_context_3d.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698