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

Unified Diff: chrome/browser/devtools/devtools_window.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Fix Android Compilation Error 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/devtools/devtools_window.cc
diff --git a/chrome/browser/devtools/devtools_window.cc b/chrome/browser/devtools/devtools_window.cc
index 956effa6c8507be73ba6ed9233249f2b1861d28d..8b903acb4bd5c80c95c63e635c5bd93c8fe9c9bb 100644
--- a/chrome/browser/devtools/devtools_window.cc
+++ b/chrome/browser/devtools/devtools_window.cc
@@ -255,7 +255,7 @@ void DevToolsEventForwarder::SetWhitelistedShortcuts(
base::ListValue::iterator it = shortcut_list->begin();
for (; it != shortcut_list->end(); ++it) {
base::DictionaryValue* dictionary;
- if (!(*it)->GetAsDictionary(&dictionary))
+ if (!it->GetAsDictionary(&dictionary))
continue;
int key_code = 0;
dictionary->GetInteger("keyCode", &key_code);

Powered by Google App Engine
This is Rietveld 408576698