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

Unified Diff: content/public/test/test_web_contents_factory.h

Issue 2749203002: Remove ScopedVector from content/. (Closed)
Patch Set: Remove ScopedVector from content/. 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/public/test/test_web_contents_factory.h
diff --git a/content/public/test/test_web_contents_factory.h b/content/public/test/test_web_contents_factory.h
index 55e01edea43b21015538465317bb7e362617aff0..c2a71af7f7fefa66e46fa2f725edab2117013d09 100644
--- a/content/public/test/test_web_contents_factory.h
+++ b/content/public/test/test_web_contents_factory.h
@@ -6,9 +6,9 @@
#define CONTENT_PUBLIC_TEST_TEST_WEB_CONTENTS_FACTORY_H_
#include <memory>
+#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
namespace content {
class BrowserContext;
@@ -41,7 +41,7 @@ class TestWebContentsFactory {
std::unique_ptr<RenderViewHostTestEnabler> rvh_enabler_;
// The vector of web contents that this class created.
- ScopedVector<WebContents> web_contents_;
+ std::vector<std::unique_ptr<WebContents>> web_contents_;
DISALLOW_COPY_AND_ASSIGN(TestWebContentsFactory);
};

Powered by Google App Engine
This is Rietveld 408576698