diff options
Diffstat (limited to 'chrome/test/ui/javascript_test_util.cc')
-rw-r--r-- | chrome/test/ui/javascript_test_util.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/ui/javascript_test_util.cc b/chrome/test/ui/javascript_test_util.cc index 17928a2..a2694ae 100644 --- a/chrome/test/ui/javascript_test_util.cc +++ b/chrome/test/ui/javascript_test_util.cc @@ -29,10 +29,10 @@ bool JsonDictionaryToMap(const std::string& json, DictionaryValue* dict = static_cast<DictionaryValue*>(root.get()); - DictionaryValue::key_iterator it = dict->begin_keys(); - for (; it != dict->end_keys(); ++it) { + for (DictionaryValue::key_iterator it = dict->begin_keys(); + it != dict->end_keys(); ++it) { Value* value = NULL; - bool succeeded = dict->Get(*it, &value); + bool succeeded = dict->GetWithoutPathExpansion(*it, &value); EXPECT_TRUE(succeeded); if (!succeeded) |