| Index: base/metrics/histogram.cc
|
| diff --git a/base/metrics/histogram.cc b/base/metrics/histogram.cc
|
| index e1d0df6736fa326b5f74c717974f40bf711be0c9..3e4cebe4a76f86e1e8e9ae550becd2ba59e4f544 100644
|
| --- a/base/metrics/histogram.cc
|
| +++ b/base/metrics/histogram.cc
|
| @@ -14,6 +14,7 @@
|
|
|
| #include <algorithm>
|
| #include <string>
|
| +#include <utility>
|
|
|
| #include "base/compiler_specific.h"
|
| #include "base/debug/alias.h"
|
| @@ -718,7 +719,7 @@ void Histogram::GetCountAndBucketData(Count* count,
|
| if (i != bucket_count() - 1)
|
| bucket_value->SetInteger("high", ranges(i + 1));
|
| bucket_value->SetInteger("count", count_at_index);
|
| - buckets->Set(index, bucket_value.release());
|
| + buckets->Set(index, std::move(bucket_value));
|
| ++index;
|
| }
|
| }
|
|
|