Index: ios/web/web_state/ui/crw_wk_web_view_web_controller.mm |
diff --git a/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm b/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm |
index 884a4a00b1c6e939e6bf0c2244500cf60d27dc9d..ece3a51c7f1c7ba0c2303f93748c42398bdcfc46 100644 |
--- a/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm |
+++ b/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm |
@@ -190,7 +190,7 @@ NSError* WKWebViewErrorWithSource(NSError* error, WKWebViewErrorSource source) { |
// Key is leaf-cert/host pair. This storage is used to carry calculated |
// cert status from |didReceiveAuthenticationChallenge:| to |
// |didFailProvisionalNavigation:| delegate method. |
- scoped_ptr<CertVerificationErrorsCacheType> _certVerificationErrors; |
+ std::unique_ptr<CertVerificationErrorsCacheType> _certVerificationErrors; |
// YES if the user has interacted with the content area since the last URL |
// change. |
@@ -352,7 +352,7 @@ NSError* WKWebViewErrorWithSource(NSError* error, WKWebViewErrorSource source) { |
#pragma mark CRWWebController public methods |
-- (instancetype)initWithWebState:(scoped_ptr<web::WebStateImpl>)webState { |
+- (instancetype)initWithWebState:(std::unique_ptr<web::WebStateImpl>)webState { |
DCHECK(webState); |
web::BrowserState* browserState = webState->GetBrowserState(); |
self = [super initWithWebState:std::move(webState)]; |