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

Unified Diff: content/app/content_main_runner.cc

Issue 2647273002: Remove ScopedVector from content::ZygoteMain() (Closed)
Patch Set: Created 3 years, 11 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 | « components/nacl/zygote/nacl_fork_delegate_linux.cc ('k') | content/public/app/content_main_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 0994d24f09aa23e82eb6247acd2afd029841d9ea..6dd4c1f75ac2e22d892c9a7fca9042dde953740d 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -11,6 +11,7 @@
#include <memory>
#include <string>
#include <utility>
+#include <vector>
#include "base/allocator/allocator_check.h"
#include "base/allocator/allocator_extension.h"
@@ -314,7 +315,7 @@ int RunZygote(const MainFunctionParams& main_function_params,
{ switches::kUtilityProcess, UtilityMain },
};
- ScopedVector<ZygoteForkDelegate> zygote_fork_delegates;
+ std::vector<std::unique_ptr<ZygoteForkDelegate>> zygote_fork_delegates;
if (delegate) {
delegate->ZygoteStarting(&zygote_fork_delegates);
media::InitializeMediaLibrary();
« no previous file with comments | « components/nacl/zygote/nacl_fork_delegate_linux.cc ('k') | content/public/app/content_main_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698