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