| Index: chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc b/chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc
|
| index bd117e45fce0abf607830673466834115abada81..c38c67ecfb8415fecfa2b3bdb460d1fdfdc8a2e9 100644
|
| --- a/chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc
|
| @@ -426,7 +426,7 @@ void DeviceEmulatorMessageHandler::UpdatePowerSources(
|
| nullptr;
|
| for (const auto& val : *sources) {
|
| const base::DictionaryValue* dict;
|
| - CHECK(val->GetAsDictionary(&dict));
|
| + CHECK(val.GetAsDictionary(&dict));
|
| power_manager::PowerSupplyProperties_PowerSource* source =
|
| props.add_available_external_power_source();
|
| std::string id;
|
|
|