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

Unified Diff: cc/trees/layer_tree_host.h

Issue 2860293002: Change cc::ElementId to be a uint64_t (Closed)
Patch Set: none Created 3 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/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 3919895a6828d8c904ec6b3b02882d122154aaf6..f2114ccd438c18f69045d852e625ca12296ae686 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -610,7 +610,7 @@ class CC_EXPORT LayerTreeHost : public NON_EXPORTED_BASE(SurfaceReferenceOwner),
// Layer id to Layer map.
std::unordered_map<int, Layer*> layer_id_map_;
- std::unordered_map<ElementId, Layer*, ElementIdHash> element_layers_map_;
+ std::unordered_map<ElementId::Id, Layer*> element_layers_map_;
bool in_paint_layer_contents_ = false;
bool in_update_property_trees_ = false;

Powered by Google App Engine
This is Rietveld 408576698