| Index: chrome/common/metrics_helpers.cc
|
| diff --git a/chrome/common/metrics_helpers.cc b/chrome/common/metrics_helpers.cc
|
| index c7aef5b1f9f1630b53bae9abaae82b79eb4c1731..0441862254545a0c4a2b74e0baa534f043edb75b 100644
|
| --- a/chrome/common/metrics_helpers.cc
|
| +++ b/chrome/common/metrics_helpers.cc
|
| @@ -177,7 +177,7 @@ int MetricsLogBase::GetElapsedSeconds() {
|
| std::string MetricsLogBase::CreateHash(const std::string& value) {
|
| base::MD5Context ctx;
|
| base::MD5Init(&ctx);
|
| - base::MD5Update(&ctx, value.data(), value.length());
|
| + base::MD5Update(&ctx, value);
|
|
|
| base::MD5Digest digest;
|
| base::MD5Final(&digest, &ctx);
|
|
|