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

Unified Diff: cc/trees/property_tree.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/trees/property_tree.h ('k') | cc/trees/tree_synchronizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.cc
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc
index 821d5dcfd7dcf182634911d9b7629881fa11ff3e..17ecbbcf4a387dbfb731837408150dd67177eab8 100644
--- a/cc/trees/property_tree.cc
+++ b/cc/trees/property_tree.cc
@@ -2093,18 +2093,9 @@ void PropertyTrees::PushChangeTrackingTo(PropertyTrees* tree) {
tree->full_tree_damaged = full_tree_damaged;
}
-void PropertyTrees::ResetAllChangeTracking(ResetFlags flag) {
- switch (flag) {
- case EFFECT_TREE:
- effect_tree.ResetChangeTracking();
- break;
- case TRANSFORM_TREE:
- transform_tree.ResetChangeTracking();
- break;
- case ALL_TREES:
- transform_tree.ResetChangeTracking();
- effect_tree.ResetChangeTracking();
- }
+void PropertyTrees::ResetAllChangeTracking() {
+ transform_tree.ResetChangeTracking();
+ effect_tree.ResetChangeTracking();
changed = false;
full_tree_damaged = false;
}
« no previous file with comments | « cc/trees/property_tree.h ('k') | cc/trees/tree_synchronizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698