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

Unified Diff: ios/public/provider/web/web_controller_provider.mm

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/public/provider/web/web_controller_provider.h ('k') | ios/web/active_state_manager_impl_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/provider/web/web_controller_provider.mm
diff --git a/ios/public/provider/web/web_controller_provider.mm b/ios/public/provider/web/web_controller_provider.mm
index 82aa875c25cd12880c52a2c8351d7194592a9a7c..70fde98454c7a0c4212e48ea220c5d8e79003e7c 100644
--- a/ios/public/provider/web/web_controller_provider.mm
+++ b/ios/public/provider/web/web_controller_provider.mm
@@ -43,10 +43,10 @@ WebControllerProviderFactory::WebControllerProviderFactory() {
WebControllerProviderFactory::~WebControllerProviderFactory() {
}
-scoped_ptr<WebControllerProvider>
+std::unique_ptr<WebControllerProvider>
WebControllerProviderFactory::CreateWebControllerProvider(
web::BrowserState* browser_state) {
- return scoped_ptr<WebControllerProvider>(
+ return std::unique_ptr<WebControllerProvider>(
new WebControllerProvider(browser_state));
}
« no previous file with comments | « ios/public/provider/web/web_controller_provider.h ('k') | ios/web/active_state_manager_impl_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698