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

Unified Diff: cc/trees/layer_tree_host_common_unittest.cc

Issue 2899403003: cc: Give non-drawing layers that are rasterized a lower priority. (Closed)
Patch Set: type Created 3 years, 7 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/trees/layer_tree_host_common.cc ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_common_unittest.cc
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc
index a26ee7f4559f8ea6d2c656289610dafc390d88fb..3c50e68903b4d8bcd63ac8fdf2451197d5ec9639 100644
--- a/cc/trees/layer_tree_host_common_unittest.cc
+++ b/cc/trees/layer_tree_host_common_unittest.cc
@@ -8347,7 +8347,7 @@ TEST_F(LayerTreeHostCommonTest,
// Since animated has singular transform, it is not be part of render
// surface layer list but should be rastered.
EXPECT_FALSE(animated->contributes_to_drawn_render_surface());
- EXPECT_TRUE(animated->raster_even_if_not_in_rsll());
+ EXPECT_TRUE(animated->raster_even_if_not_drawn());
// The animated layer has a singular transform and maps to a non-empty rect in
// clipped target space, so is treated as fully visible.
@@ -8387,7 +8387,7 @@ TEST_F(LayerTreeHostCommonTest,
// Since animated has singular transform, it is not be part of render
// surface layer list but should be rastered.
- EXPECT_TRUE(animated->raster_even_if_not_in_rsll());
+ EXPECT_TRUE(animated->raster_even_if_not_drawn());
EXPECT_EQ(gfx::Rect(120, 120), active_animated->visible_layer_rect());
}
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698