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

Unified Diff: cc/trees/occlusion_tracker_perftest.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/trees/layer_tree_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/occlusion_tracker_perftest.cc
diff --git a/cc/trees/occlusion_tracker_perftest.cc b/cc/trees/occlusion_tracker_perftest.cc
index 35c30e15d7e16156efff83a804bf563757354b07..578730519f8c90e66650249ac494a4e94a6b8bad 100644
--- a/cc/trees/occlusion_tracker_perftest.cc
+++ b/cc/trees/occlusion_tracker_perftest.cc
@@ -93,7 +93,7 @@ TEST_F(OcclusionTrackerPerfTest, UnoccludedContentRect_FullyOccluded) {
opaque_layer->SetDrawsContent(true);
opaque_layer->SetBounds(viewport_rect.size());
active_tree()->root_layer()->AddChild(std::move(opaque_layer));
- active_tree()->BuildPropertyTreesForTesting();
+ active_tree()->BuildLayerListAndPropertyTreesForTesting();
bool update_lcd_text = false;
active_tree()->UpdateDrawProperties(update_lcd_text);
@@ -165,7 +165,7 @@ TEST_F(OcclusionTrackerPerfTest, UnoccludedContentRect_10OpaqueLayers) {
active_tree()->root_layer()->AddChild(std::move(opaque_layer));
}
- active_tree()->BuildPropertyTreesForTesting();
+ active_tree()->BuildLayerListAndPropertyTreesForTesting();
bool update_lcd_text = false;
active_tree()->UpdateDrawProperties(update_lcd_text);
const LayerImplList& rsll = active_tree()->RenderSurfaceLayerList();
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698