| Index: chrome/browser/ui/webui/chromeos/power_ui.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/power_ui.cc b/chrome/browser/ui/webui/chromeos/power_ui.cc
|
| index 70cfa00108876ab2e416f9e6f5860fbc79b7adf5..0a354f96a47efe4e8eae8c851e5080d16553a6d2 100644
|
| --- a/chrome/browser/ui/webui/chromeos/power_ui.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/power_ui.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| #include <utility>
|
|
|
| #include "base/bind.h"
|
| @@ -177,7 +178,7 @@ void PowerMessageHandler::GetJsStateOccupancyData(
|
| state_dict->SetDouble(state_names[index],
|
| static_cast<double>(sample.time_in_state[index]));
|
| }
|
| - js_sample->Set("timeInState", state_dict.release());
|
| + js_sample->Set("timeInState", std::move(state_dict));
|
|
|
| js_sample_list->Append(std::move(js_sample));
|
| }
|
|
|