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 17073b3c6d102ec198d16b23c598ef9dcc89c5f6..340b11ef5363754a25a059bacc6f1d0f8537055e 100644 |
--- a/components/security_interstitials/core/metrics_helper.cc |
+++ b/components/security_interstitials/core/metrics_helper.cc |
@@ -11,8 +11,8 @@ |
#include "base/metrics/user_metrics.h" |
#include "base/metrics/user_metrics_action.h" |
#include "components/history/core/browser/history_service.h" |
+#include "components/rappor/public/rappor_utils.h" |
#include "components/rappor/rappor_service.h" |
-#include "components/rappor/rappor_utils.h" |
#include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
using base::RecordAction; |
@@ -194,8 +194,8 @@ void MetricsHelper::RecordUserDecisionToRappor( |
sample->SetFlagsField("flags", flags, |
InterstitialFlagBits::HIGHEST_USED_BIT + 1); |
} |
- rappor_service_->RecordSampleObj("interstitial." + rappor_prefix, |
- std::move(sample)); |
+ rappor_service_->RecordSample("interstitial." + rappor_prefix, |
+ std::move(sample)); |
} |
void MetricsHelper::RecordUserInteraction(Interaction interaction) { |