Index: components/security_interstitials/core/metrics_helper.cc |
diff --git a/components/security_interstitials/core/metrics_helper.cc b/components/security_interstitials/core/metrics_helper.cc |
index d55a37caf5aa0428a3fc9b2498f449d1fec99fcd..ee1724c29431dd3d1242c8d914dfc888bb1ddad1 100644 |
--- a/components/security_interstitials/core/metrics_helper.cc |
+++ b/components/security_interstitials/core/metrics_helper.cc |
@@ -4,6 +4,7 @@ |
#include "components/security_interstitials/core/metrics_helper.h" |
+#include <memory> |
#include <utility> |
#include "base/metrics/histogram.h" |
@@ -166,7 +167,7 @@ void MetricsHelper::RecordUserDecisionToRappor(Decision decision) { |
if (!rappor_service_ || (decision != PROCEED && decision != DONT_PROCEED)) |
return; |
- scoped_ptr<rappor::Sample> sample = |
+ std::unique_ptr<rappor::Sample> sample = |
rappor_service_->CreateSample(settings_.rappor_report_type); |
// This will populate, for example, "intersitial.malware.domain" or |