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

Unified Diff: cc/trees/layer_sorter.h

Issue 13285002: cc: Consolidate LayerList types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/damage_tracker_unittest.cc ('k') | cc/trees/layer_sorter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_sorter.h
diff --git a/cc/trees/layer_sorter.h b/cc/trees/layer_sorter.h
index 5577ad7c694d68790d6f14aee1162e9617435f45..4bdf77c743e0c79a8a3635968b25da87960f627e 100644
--- a/cc/trees/layer_sorter.h
+++ b/cc/trees/layer_sorter.h
@@ -79,9 +79,7 @@ class CC_EXPORT LayerSorter {
LayerSorter();
~LayerSorter();
- typedef std::vector<LayerImpl*> LayerList;
-
- void Sort(LayerList::iterator first, LayerList::iterator last);
+ void Sort(LayerImplList::iterator first, LayerImplList::iterator last);
enum ABCompareResult {
ABeforeB,
@@ -104,7 +102,8 @@ class CC_EXPORT LayerSorter {
typedef base::hash_map<GraphEdge*, GraphEdge*> EdgeMap;
EdgeMap active_edges_;
- void CreateGraphNodes(LayerList::iterator first, LayerList::iterator last);
+ void CreateGraphNodes(LayerImplList::iterator first,
+ LayerImplList::iterator last);
void CreateGraphEdges();
void RemoveEdgeFromList(GraphEdge* graph, std::vector<GraphEdge*>* list);
« no previous file with comments | « cc/trees/damage_tracker_unittest.cc ('k') | cc/trees/layer_sorter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698