| Index: third_party/WebKit/Source/wtf/text/StringHash.h
|
| diff --git a/third_party/WebKit/Source/wtf/text/StringHash.h b/third_party/WebKit/Source/wtf/text/StringHash.h
|
| index 70b1ec7e2694f49557ebe88f678f843e9b88b583..905ede3690a417ea6f7c276470ed95fd780e2860 100644
|
| --- a/third_party/WebKit/Source/wtf/text/StringHash.h
|
| +++ b/third_party/WebKit/Source/wtf/text/StringHash.h
|
| @@ -146,10 +146,10 @@ struct AlreadyHashed : IntHash<unsigned> {
|
| // the string hash function to never generate negative one, but this works
|
| // and is still relatively efficient.
|
| static unsigned avoidDeletedValue(unsigned hash) {
|
| - ASSERT(hash);
|
| + DCHECK(hash);
|
| unsigned newHash = hash | (!(hash + 1) << 31);
|
| - ASSERT(newHash);
|
| - ASSERT(newHash != 0xFFFFFFFF);
|
| + DCHECK(newHash);
|
| + DCHECK_NE(newHash, 0xFFFFFFFF);
|
| return newHash;
|
| }
|
| };
|
|
|