| Index: components/rappor/sampler.cc
|
| diff --git a/components/rappor/sampler.cc b/components/rappor/sampler.cc
|
| index b6a809807c8e0f65bb7403d02baee0d70abd1ab2..c334b40ff0d27d3425124af186c80218f9366086 100644
|
| --- a/components/rappor/sampler.cc
|
| +++ b/components/rappor/sampler.cc
|
| @@ -24,7 +24,7 @@ void Sampler::AddSample(const std::string& metric_name,
|
| // Replace the previous sample with a 1 in sample_count_ chance so that each
|
| // sample has equal probability of being reported.
|
| if (base::RandGenerator(sample_counts_[metric_name]) == 0)
|
| - samples_.set(metric_name, std::move(sample));
|
| + samples_[metric_name] = std::move(sample);
|
| }
|
|
|
| void Sampler::ExportMetrics(const std::string& secret, RapporReports* reports) {
|
|
|