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

Unified Diff: cc/trees/damage_tracker_unittest.cc

Issue 1975623002: cc : Add LayerToPropertyTreeIndices map to PropertyTrees (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
Index: cc/trees/damage_tracker_unittest.cc
diff --git a/cc/trees/damage_tracker_unittest.cc b/cc/trees/damage_tracker_unittest.cc
index f907bb7f3e7307357b27c69a1e5a3d6f12dd3919..3aa6859b10a81b9359a1d1ae1381931df27c7f75 100644
--- a/cc/trees/damage_tracker_unittest.cc
+++ b/cc/trees/damage_tracker_unittest.cc
@@ -73,7 +73,7 @@ void EmulateDrawingOneFrame(LayerImpl* root) {
}
root->layer_tree_impl()->ResetAllChangeTracking(
- PropertyTrees::ResetFlags::ALL_TREES);
+ PropertyTrees::Types::EFFECT_AND_TRANSFORM_TREES);
}
class DamageTrackerTest : public testing::Test {
@@ -865,7 +865,7 @@ TEST_F(DamageTrackerTest, VerifyDamageForNewUnchangedLayer) {
child2->SetDrawsContent(true);
root->AddChild(std::move(child2));
host_impl_.active_tree()->ResetAllChangeTracking(
- PropertyTrees::ResetFlags::ALL_TREES);
+ PropertyTrees::Types::EFFECT_AND_TRANSFORM_TREES);
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

Powered by Google App Engine
This is Rietveld 408576698