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

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

Issue 2816513002: Revert of Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Created 3 years, 8 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 14aefab9a43aea0e4671864c39c00f3b271cc386..6993861a1ba083cce729f2dba7efe8c5a7430e08 100644
--- a/chrome/browser/devtools/devtools_window.cc
+++ b/chrome/browser/devtools/devtools_window.cc
@@ -257,7 +257,7 @@
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