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

Unified Diff: cc/base/rtree.h

Issue 2570393002: cc: Change Nodes collection to use base::ContiguousContainer instead of deque. (Closed)
Patch Set: win compile fix Created 4 years 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/base/rtree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/rtree.h
diff --git a/cc/base/rtree.h b/cc/base/rtree.h
index 21cd9206cb2b6d95d306cf39b38ddebc5f456d68..260ae5fe859ab619d7cb9362c32c4f2d4f3c9e26 100644
--- a/cc/base/rtree.h
+++ b/cc/base/rtree.h
@@ -8,10 +8,10 @@
#include <stddef.h>
#include <stdint.h>
-#include <deque>
#include <vector>
#include "cc/base/cc_export.h"
+#include "cc/base/contiguous_container.h"
#include "ui/gfx/geometry/rect.h"
namespace cc {
@@ -115,7 +115,7 @@ class CC_EXPORT RTree {
// This is the count of data elements (rather than total nodes in the tree)
size_t num_data_elements_;
Branch root_;
- std::deque<Node> nodes_;
+ ContiguousContainer<Node> nodes_;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/base/rtree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698