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

Unified Diff: content/browser/frame_host/navigation_entry_impl.h

Issue 2742333002: Remove ScopedVector from content/browser/ [1]. (Closed)
Patch Set: Created 3 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
Index: content/browser/frame_host/navigation_entry_impl.h
diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h
index 4f3183b764dabddffe816a880be46d44711eddbb..a102742afae11bea95a56c775ac29e507d066ca2 100644
--- a/content/browser/frame_host/navigation_entry_impl.h
+++ b/content/browser/frame_host/navigation_entry_impl.h
@@ -8,10 +8,11 @@
#include <stdint.h>
#include <map>
+#include <memory>
+#include <vector>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "content/browser/frame_host/frame_navigation_entry.h"
@@ -72,7 +73,7 @@ class CONTENT_EXPORT NavigationEntryImpl
scoped_refptr<FrameNavigationEntry> frame_entry;
// List of child TreeNodes, which will be deleted when this node is.
- ScopedVector<TreeNode> children;
+ std::vector<std::unique_ptr<TreeNode>> children;
};
static NavigationEntryImpl* FromNavigationEntry(NavigationEntry* entry);

Powered by Google App Engine
This is Rietveld 408576698