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

Unified Diff: cc/tile_manager.h

Issue 12207146: changing std::vector to std::set for all_tiles_ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: making iterator const Created 7 years, 10 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/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile_manager.h
diff --git a/cc/tile_manager.h b/cc/tile_manager.h
index 6e42f75bee75d49f48d65720cabd7eb8a46e4a37..5a30e4cbba13e51ba4cf796d0849c8f037de8a82 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -7,6 +7,7 @@
#include <list>
#include <queue>
+#include <set>
#include <vector>
#include "base/hash_tables.h"
@@ -192,7 +193,8 @@ class CC_EXPORT TileManager {
GlobalStateThatImpactsTilePriority global_state_;
typedef std::vector<Tile*> TileVector;
- TileVector all_tiles_;
+ typedef std::set<Tile*> TileSet;
+ TileSet all_tiles_;
TileVector live_or_allocated_tiles_;
TileVector tiles_that_need_to_be_rasterized_;
« no previous file with comments | « no previous file | cc/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698