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

Unified Diff: ios/web/shell/app_delegate.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: Add header 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
Index: ios/web/shell/app_delegate.mm
diff --git a/ios/web/shell/app_delegate.mm b/ios/web/shell/app_delegate.mm
index d5d239b2ebc417a9dfc476fff654d87fcb87d791..87e65a5b3a704b3acb6112ae41db838cce67cb9e 100644
--- a/ios/web/shell/app_delegate.mm
+++ b/ios/web/shell/app_delegate.mm
@@ -4,8 +4,9 @@
#import "ios/web/shell/app_delegate.h"
+#include <memory>
+
#import "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#include "ios/web/public/app/web_main.h"
#include "ios/web/public/web_client.h"
#include "ios/web/public/web_state/web_state.h"
@@ -15,8 +16,8 @@
#import "ios/web/shell/view_controller.h"
@interface AppDelegate () {
- scoped_ptr<web::ShellMainDelegate> _delegate;
- scoped_ptr<web::WebMain> _webMain;
+ std::unique_ptr<web::ShellMainDelegate> _delegate;
+ std::unique_ptr<web::WebMain> _webMain;
}
@end

Powered by Google App Engine
This is Rietveld 408576698