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

Unified Diff: ios/web/public/web_controller_factory.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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 | « ios/web/public/test/test_web_thread_bundle.h ('k') | ios/web/public/web_controller_factory.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/web_controller_factory.h
diff --git a/ios/web/public/web_controller_factory.h b/ios/web/public/web_controller_factory.h
index c6d1545ff49a19c200150e2c09ff0f3234b6e252..e846762c60c36b12882be0fda4c04d4b9bcad41b 100644
--- a/ios/web/public/web_controller_factory.h
+++ b/ios/web/public/web_controller_factory.h
@@ -5,7 +5,7 @@
#ifndef IOS_WEB_PUBLIC_WEB_CONTROLLER_FACTORY_H_
#define IOS_WEB_PUBLIC_WEB_CONTROLLER_FACTORY_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
@class CRWWebController;
@@ -16,7 +16,7 @@ class WebStateImpl;
// Returns a new instance of CRWWebViewController.
// Note: Callers are responsible for releasing the returned web controller.
-CRWWebController* CreateWebController(scoped_ptr<WebStateImpl> web_state);
+CRWWebController* CreateWebController(std::unique_ptr<WebStateImpl> web_state);
// Returns a new instance of CRWWebViewController.
// Temporary factory method for use in components that require a web controller.
« no previous file with comments | « ios/web/public/test/test_web_thread_bundle.h ('k') | ios/web/public/web_controller_factory.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698