| Index: components/rappor/sampler.cc
|
| diff --git a/components/rappor/sampler.cc b/components/rappor/sampler.cc
|
| index 9ad0da95880e8d6f37a9dc60af46e8b694c2fdb4..b6a809807c8e0f65bb7403d02baee0d70abd1ab2 100644
|
| --- a/components/rappor/sampler.cc
|
| +++ b/components/rappor/sampler.cc
|
| @@ -19,7 +19,7 @@ Sampler::Sampler() {}
|
| Sampler::~Sampler() {}
|
|
|
| void Sampler::AddSample(const std::string& metric_name,
|
| - scoped_ptr<Sample> sample) {
|
| + std::unique_ptr<Sample> sample) {
|
| ++sample_counts_[metric_name];
|
| // Replace the previous sample with a 1 in sample_count_ chance so that each
|
| // sample has equal probability of being reported.
|
|
|