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

Unified Diff: cc/trees/layer_tree_host_unittest_occlusion.cc

Issue 2851193002: cc: Rename LayerImpl::is_drawn_render_surface_layer_list_member (Closed)
Patch Set: Rebase Created 3 years, 8 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_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest_occlusion.cc
diff --git a/cc/trees/layer_tree_host_unittest_occlusion.cc b/cc/trees/layer_tree_host_unittest_occlusion.cc
index 3202bb93f1a029b7d6b6efcee1d95a94589e174d..484c8bb5745cdd2ec51c704ad51d5d92f2317a23 100644
--- a/cc/trees/layer_tree_host_unittest_occlusion.cc
+++ b/cc/trees/layer_tree_host_unittest_occlusion.cc
@@ -52,8 +52,8 @@ class LayerTreeHostOcclusionTestDrawPropertiesOnLayer
LayerImpl* child = impl->active_tree()->LayerById(child_->id());
// Verify the draw properties are valid.
- EXPECT_TRUE(root->is_drawn_render_surface_layer_list_member());
- EXPECT_TRUE(child->is_drawn_render_surface_layer_list_member());
+ EXPECT_TRUE(root->contributes_to_drawn_render_surface());
+ EXPECT_TRUE(child->contributes_to_drawn_render_surface());
EXPECT_OCCLUSION_EQ(
Occlusion(child->DrawTransform(), SimpleEnclosedRegion(),
@@ -109,8 +109,8 @@ class LayerTreeHostOcclusionTestDrawPropertiesOnSurface
RenderSurfaceImpl* surface = child->GetRenderSurface();
// Verify the draw properties are valid.
- EXPECT_TRUE(root->is_drawn_render_surface_layer_list_member());
- EXPECT_TRUE(child->is_drawn_render_surface_layer_list_member());
+ EXPECT_TRUE(root->contributes_to_drawn_render_surface());
+ EXPECT_TRUE(child->contributes_to_drawn_render_surface());
EXPECT_TRUE(child->GetRenderSurface());
EXPECT_EQ(child->GetRenderSurface(), child->render_target());
@@ -177,8 +177,8 @@ class LayerTreeHostOcclusionTestDrawPropertiesOnMask
LayerImpl* mask = surface->MaskLayer();
// Verify the draw properties are valid.
- EXPECT_TRUE(root->is_drawn_render_surface_layer_list_member());
- EXPECT_TRUE(child->is_drawn_render_surface_layer_list_member());
+ EXPECT_TRUE(root->contributes_to_drawn_render_surface());
+ EXPECT_TRUE(child->contributes_to_drawn_render_surface());
EXPECT_TRUE(child->GetRenderSurface());
EXPECT_EQ(child->GetRenderSurface(), child->render_target());
« no previous file with comments | « cc/trees/layer_tree_host_common_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698