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

Unified Diff: cc/trees/damage_tracker_unittest.cc

Issue 1995133002: cc : Delete ResetFlags in property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/layers/render_surface_unittest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/damage_tracker_unittest.cc
diff --git a/cc/trees/damage_tracker_unittest.cc b/cc/trees/damage_tracker_unittest.cc
index 884d6f008967f1e6bb112537fdb1b170e1979b06..769d6f534f412569f59904ef43b8d31190a9499b 100644
--- a/cc/trees/damage_tracker_unittest.cc
+++ b/cc/trees/damage_tracker_unittest.cc
@@ -72,8 +72,7 @@ void EmulateDrawingOneFrame(LayerImpl* root) {
render_surface_layer_list[index]->filters());
}
- root->layer_tree_impl()->ResetAllChangeTracking(
- PropertyTrees::ResetFlags::ALL_TREES);
+ root->layer_tree_impl()->ResetAllChangeTracking();
}
class DamageTrackerTest : public testing::Test {
@@ -882,8 +881,7 @@ TEST_F(DamageTrackerTest, VerifyDamageForNewUnchangedLayer) {
child2->SetBounds(gfx::Size(6, 8));
child2->SetDrawsContent(true);
root->AddChild(std::move(child2));
- host_impl_.active_tree()->ResetAllChangeTracking(
- PropertyTrees::ResetFlags::ALL_TREES);
+ host_impl_.active_tree()->ResetAllChangeTracking();
LayerImpl* child2_ptr = host_impl_.active_tree()->LayerById(3);
// Sanity check the initial conditions of the test, if these asserts
// trigger, it means the test no longer actually covers the intended
« no previous file with comments | « cc/layers/render_surface_unittest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698