Commit f719f772 authored by Toon Verwaest's avatar Toon Verwaest Committed by Commit Bot

Drop invalid DCHECK, hashes can be 0

Bug: chromiume:733118
Change-Id: Ic144342d86fc84bf5c4700cec357ac8f3c6b2cb3
Reviewed-on: https://chromium-review.googlesource.com/535522Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45953}
parent 21389501
...@@ -263,10 +263,7 @@ class HashTableKey { ...@@ -263,10 +263,7 @@ class HashTableKey {
// Required. // Required.
virtual ~HashTableKey() {} virtual ~HashTableKey() {}
uint32_t Hash() const { uint32_t Hash() const { return hash_; }
DCHECK_NE(0, hash_);
return hash_;
}
protected: protected:
void set_hash(uint32_t hash) { void set_hash(uint32_t hash) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment