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

Unified Diff: cc/trees/layer_tree_host.h

Issue 2049063002: Revert of Use element id's for animations (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/test/layer_test_common.h ('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/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 1e72ae407068f493d0ea265197f93cbe9be2712d..7195f56f06b724ff8d9fe702b8b49d184aa87752 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -347,10 +347,6 @@
void SetLayerTreeMutator(std::unique_ptr<LayerTreeMutator> mutator);
Layer* LayerById(int id) const;
-
- Layer* LayerByElementId(ElementId element_id) const;
- void AddToElementMap(Layer* layer);
- void RemoveFromElementMap(Layer* layer);
void AddLayerShouldPushProperties(Layer* layer);
void RemoveLayerShouldPushProperties(Layer* layer);
@@ -425,8 +421,6 @@
bool IsRemoteClient() const;
void BuildPropertyTreesForTesting();
- void SetElementIdsForTesting();
-
ImageSerializationProcessor* image_serialization_processor() const {
return image_serialization_processor_;
}
@@ -597,10 +591,6 @@
using LayerIdMap = std::unordered_map<int, Layer*>;
LayerIdMap layer_id_map_;
-
- using ElementLayersMap = std::unordered_map<ElementId, Layer*, ElementIdHash>;
- ElementLayersMap element_layers_map_;
-
// Set of layers that need to push properties.
std::unordered_set<Layer*> layers_that_should_push_properties_;
« no previous file with comments | « cc/test/layer_test_common.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698