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

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

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent Created 4 years, 8 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 | « content/public/test/test_utils.cc ('k') | content/public/test/test_web_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e0caf3265d946342681750f8a5c8dbd68f335a7b..55e01edea43b21015538465317bb7e362617aff0 100644
--- a/content/public/test/test_web_contents_factory.h
+++ b/content/public/test/test_web_contents_factory.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_PUBLIC_TEST_TEST_WEB_CONTENTS_FACTORY_H_
#define CONTENT_PUBLIC_TEST_TEST_WEB_CONTENTS_FACTORY_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
namespace content {
@@ -37,7 +38,7 @@ class TestWebContentsFactory {
private:
// The test factory (and friends) for creating test web contents.
- scoped_ptr<RenderViewHostTestEnabler> rvh_enabler_;
+ std::unique_ptr<RenderViewHostTestEnabler> rvh_enabler_;
// The vector of web contents that this class created.
ScopedVector<WebContents> web_contents_;
« no previous file with comments | « content/public/test/test_utils.cc ('k') | content/public/test/test_web_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698