Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2888)

Unified Diff: chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Comment Updates Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 2b9c755ff39c4c035deec79f69b78581e6fdc864..cb293deebff85382c4976bf54ee37e777d716cd9 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;

Powered by Google App Engine
This is Rietveld 408576698