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

Unified Diff: cc/layers/scrollbar_layer_impl_base.h

Issue 2894673008: Refactor scrollbar maps from multimap & std::set to simpler flat_{map, set} (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | cc/trees/layer_tree_impl.h » ('j') | cc/trees/layer_tree_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/scrollbar_layer_impl_base.h
diff --git a/cc/layers/scrollbar_layer_impl_base.h b/cc/layers/scrollbar_layer_impl_base.h
index d5bc0f8be412b6af942f84ae011b29c4f0917818..9e1fbd23828cd033eca1b650e62931d076150c41 100644
--- a/cc/layers/scrollbar_layer_impl_base.h
+++ b/cc/layers/scrollbar_layer_impl_base.h
@@ -96,7 +96,7 @@ class CC_EXPORT ScrollbarLayerImplBase : public LayerImpl {
DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerImplBase);
};
-typedef std::set<ScrollbarLayerImplBase*> ScrollbarSet;
+typedef base::flat_set<ScrollbarLayerImplBase*> ScrollbarSet;
wkorman 2017/05/20 01:46:29 Switch to 'using' rather than typedef?
pdr. 2017/05/22 16:20:40 Done
} // namespace cc
« no previous file with comments | « no previous file | cc/trees/layer_tree_impl.h » ('j') | cc/trees/layer_tree_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698