Index: base/values.cc |
diff --git a/base/values.cc b/base/values.cc |
index 20e61759ebe5388c989555a24f72772d42527790..60c623ebabfb6517937599ff3d684617c7c72dce 100644 |
--- a/base/values.cc |
+++ b/base/values.cc |
@@ -339,7 +339,8 @@ bool DictionaryValue::Equals(const Value* other) const { |
while (lhs_it != end_keys() && rhs_it != other_dict->end_keys()) { |
Value* lhs; |
Value* rhs; |
- if (!GetWithoutPathExpansion(*lhs_it, &lhs) || |
+ if (*lhs_it != *rhs_it || |
+ !GetWithoutPathExpansion(*lhs_it, &lhs) || |
!other_dict->GetWithoutPathExpansion(*rhs_it, &rhs) || |
!lhs->Equals(rhs)) { |
return false; |