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

Unified Diff: ios/web/web_state/ui/crw_web_controller+protected.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/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/ui/crw_web_controller_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_web_controller+protected.h
diff --git a/ios/web/web_state/ui/crw_web_controller+protected.h b/ios/web/web_state/ui/crw_web_controller+protected.h
index a1105cc48dbb9c521287f5ba1cdfe9633bd03b4c..a0ee53b6449c2f899e2816141eeebf7154ca19dd 100644
--- a/ios/web/web_state/ui/crw_web_controller+protected.h
+++ b/ios/web/web_state/ui/crw_web_controller+protected.h
@@ -9,6 +9,8 @@
#import <WebKit/WebKit.h>
+#include <memory>
+
#include "base/mac/scoped_nsobject.h"
#import "ios/web/public/navigation_manager.h"
#include "ios/web/public/referrer.h"
@@ -80,7 +82,7 @@ static NSString* const kScriptImmediateName = @"crwebinvokeimmediate";
@property(nonatomic, readonly) CRWPassKitDownloader* passKitDownloader;
// Designated initializer.
-- (instancetype)initWithWebState:(scoped_ptr<web::WebStateImpl>)webState;
+- (instancetype)initWithWebState:(std::unique_ptr<web::WebStateImpl>)webState;
// Creates a web view if it's not yet created.
- (void)ensureWebViewCreated;
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/ui/crw_web_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698