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

Unified Diff: ios/chrome/browser/interstitials/ios_security_interstitial_page.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
Index: ios/chrome/browser/interstitials/ios_security_interstitial_page.mm
diff --git a/ios/chrome/browser/interstitials/ios_security_interstitial_page.mm b/ios/chrome/browser/interstitials/ios_security_interstitial_page.mm
index 79d79be86c6479bfc9fd6916b2f8981e77bda738..dc9158af564e95ff39dd8902c1f85d870cdd0af2 100644
--- a/ios/chrome/browser/interstitials/ios_security_interstitial_page.mm
+++ b/ios/chrome/browser/interstitials/ios_security_interstitial_page.mm
@@ -35,7 +35,7 @@ void IOSSecurityInterstitialPage::Show() {
DCHECK(!web_interstitial_);
web_interstitial_ = web::WebInterstitial::CreateHtmlInterstitial(
web_state_, ShouldCreateNewNavigation(), request_url_,
- scoped_ptr<web::HtmlWebInterstitialDelegate>(this));
+ std::unique_ptr<web::HtmlWebInterstitialDelegate>(this));
web_interstitial_->Show();
AfterShow();
}

Powered by Google App Engine
This is Rietveld 408576698