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

Unified Diff: ios/chrome/browser/ssl/ios_ssl_blocking_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
« no previous file with comments | « ios/chrome/browser/ssl/ios_ssl_blocking_page.h ('k') | ios/chrome/browser/suggestions/image_fetcher_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
diff --git a/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm b/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
index e41fec131e5d32b0eee7ecda25a31a6cfbd95d74..659711e2c430f417f2bcda9fc04215ce72f84a8c 100644
--- a/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
+++ b/ios/chrome/browser/ssl/ios_ssl_blocking_page.mm
@@ -6,6 +6,7 @@
#include <utility>
+#include "base/memory/ptr_util.h"
#include "base/metrics/histogram.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
@@ -93,7 +94,7 @@ IOSSSLBlockingPage::IOSSSLBlockingPage(
reporting_info.rappor_report_type = rappor::UMA_RAPPOR_TYPE;
IOSChromeMetricsHelper* ios_chrome_metrics_helper =
new IOSChromeMetricsHelper(web_state, request_url, reporting_info);
- controller_->set_metrics_helper(make_scoped_ptr(ios_chrome_metrics_helper));
+ controller_->set_metrics_helper(base::WrapUnique(ios_chrome_metrics_helper));
ssl_error_ui_.reset(new SSLErrorUI(request_url, cert_error, ssl_info,
options_mask, time_triggered,
« no previous file with comments | « ios/chrome/browser/ssl/ios_ssl_blocking_page.h ('k') | ios/chrome/browser/suggestions/image_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698