Index: net/disk_cache/entry_impl.cc |
=================================================================== |
--- net/disk_cache/entry_impl.cc (revision 157289) |
+++ net/disk_cache/entry_impl.cc (working copy) |
@@ -451,8 +451,7 @@ |
static_cast<size_t>(entry_.Data()->key_len) != key.size()) |
return false; |
- std::string my_key = GetKey(); |
- return key.compare(my_key) ? false : true; |
+ return (key.compare(GetKey()) == 0); |
} |
void EntryImpl::InternalDoom() { |