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

Unified Diff: cc/layers/picture_image_layer_impl_unittest.cc

Issue 2032303004: cc : Add layer_list to LayerTreeImpl and build it for tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « cc/layers/layer_utils_unittest.cc ('k') | cc/layers/picture_layer_impl_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_image_layer_impl_unittest.cc
diff --git a/cc/layers/picture_image_layer_impl_unittest.cc b/cc/layers/picture_image_layer_impl_unittest.cc
index 5a5588bf1a16d20e470653ad76ccdc0c23560711..d70f95996a99ae1a33380315df586aaf117efd9d 100644
--- a/cc/layers/picture_image_layer_impl_unittest.cc
+++ b/cc/layers/picture_image_layer_impl_unittest.cc
@@ -114,7 +114,7 @@ TEST_F(PictureImageLayerImplTest, CalculateContentsScale) {
TestablePictureImageLayerImpl* layer_ptr = layer.get();
host_impl_.pending_tree()->SetRootLayer(std::move(layer));
- host_impl_.pending_tree()->BuildPropertyTreesForTesting();
+ host_impl_.pending_tree()->BuildLayerListAndPropertyTreesForTesting();
gfx::Rect viewport(100, 200);
SetupDrawPropertiesAndUpdateTiles(layer_ptr, 2.f, 3.f, 4.f, 1.f, false,
@@ -131,7 +131,7 @@ TEST_F(PictureImageLayerImplTest, IgnoreIdealContentScale) {
TestablePictureImageLayerImpl* pending_layer_ptr = pending_layer.get();
host_impl_.pending_tree()->SetRootLayer(std::move(pending_layer));
- host_impl_.pending_tree()->BuildPropertyTreesForTesting();
+ host_impl_.pending_tree()->BuildLayerListAndPropertyTreesForTesting();
// Set PictureLayerImpl::ideal_contents_scale_ to 2.f which is not equal
// to the content scale used by PictureImageLayerImpl.
« no previous file with comments | « cc/layers/layer_utils_unittest.cc ('k') | cc/layers/picture_layer_impl_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698