Index: chrome/browser/interstitials/security_interstitial_page.cc |
diff --git a/chrome/browser/interstitials/security_interstitial_page.cc b/chrome/browser/interstitials/security_interstitial_page.cc |
index 876f55b83b31d9e970ac8132d0f862b365f84c5f..0cc658ea333a733bd815a88a075de05fd38bace6 100644 |
--- a/chrome/browser/interstitials/security_interstitial_page.cc |
+++ b/chrome/browser/interstitials/security_interstitial_page.cc |
@@ -115,8 +115,8 @@ SecurityInterstitialPage::metrics_helper() const { |
} |
void SecurityInterstitialPage::set_metrics_helper( |
- security_interstitials::MetricsHelper* metrics_helper) { |
- metrics_helper_.reset(metrics_helper); |
+ scoped_ptr<security_interstitials::MetricsHelper> metrics_helper) { |
+ metrics_helper_ = metrics_helper.Pass(); |
} |
base::string16 SecurityInterstitialPage::GetFormattedHostName() const { |