| Index: base/metrics/field_trial.cc
|
| ===================================================================
|
| --- base/metrics/field_trial.cc (revision 102606)
|
| +++ base/metrics/field_trial.cc (working copy)
|
| @@ -170,7 +170,7 @@
|
| // and trial_name we get into something with a uniform distribution, which
|
| // is desirable so that we don't skew any part of the 0-100% spectrum.
|
| std::string input(client_id + trial_name);
|
| - unsigned char sha1_hash[SHA1_LENGTH];
|
| + unsigned char sha1_hash[kSHA1Length];
|
| SHA1HashBytes(reinterpret_cast<const unsigned char*>(input.c_str()),
|
| input.size(),
|
| sha1_hash);
|
|
|