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..523a169b9486bd541352b7405f7985e1c415d202 100644 |
--- a/chrome/browser/ui/webui/chromeos/power_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/power_ui.cc |
@@ -177,7 +177,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)); |
} |