Chromium Code Reviews| Index: webkit/dom_storage/dom_storage_map.cc |
| =================================================================== |
| --- webkit/dom_storage/dom_storage_map.cc (revision 141450) |
| +++ webkit/dom_storage/dom_storage_map.cc (working copy) |
| @@ -61,6 +61,10 @@ |
| return found->second; |
| } |
| +bool DomStorageMap::ContainsItem(const string16& key) const { |
| + return values_.find(key) != values_.end(); |
| +} |
| + |
| bool DomStorageMap::SetItem( |
| const string16& key, const string16& value, |
| NullableString16* old_value) { |