| Index: components/rappor/rappor_metric.cc
|
| diff --git a/components/rappor/rappor_metric.cc b/components/rappor/rappor_metric.cc
|
| index 2da3b312b77dbe72ebd416b6f3b24635d2126a64..f8ff16252e232ddbdbd258e6f337ed20b3d124f2 100644
|
| --- a/components/rappor/rappor_metric.cc
|
| +++ b/components/rappor/rappor_metric.cc
|
| @@ -30,7 +30,7 @@ ByteVector RapporMetric::GetReport(const std::string& secret) const {
|
| // client's secret key + real data as a seed. The inclusion of the secret
|
| // in the seed avoids correlations between real and fake data.
|
| // The seed isn't a human-readable string.
|
| - std::string personalization_string = metric_name_ +
|
| + const std::string personalization_string = metric_name_ +
|
| std::string(bytes().begin(), bytes().end());
|
| HmacByteVectorGenerator hmac_generator(bytes().size(), secret,
|
| personalization_string);
|
|
|