Index: chrome/test/chromedriver/logging.cc |
diff --git a/chrome/test/chromedriver/logging.cc b/chrome/test/chromedriver/logging.cc |
index f99a04928d948516371c82b6232466bc9562d895..71dfbd5659d655ec2381195700ca2ae49b6de5b6 100644 |
--- a/chrome/test/chromedriver/logging.cc |
+++ b/chrome/test/chromedriver/logging.cc |
@@ -171,8 +171,8 @@ |
for (base::ListValue::const_iterator it = list->begin(); |
it != list->end(); |
++it) { |
- const base::DictionaryValue* log_entry = NULL; |
- it->GetAsDictionary(&log_entry); |
+ base::DictionaryValue* log_entry = NULL; |
+ (*it)->GetAsDictionary(&log_entry); |
if (log_entry != NULL) { |
std::string level; |
if (log_entry->GetString("level", &level)) |