| 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 025f03c0ed9a727c741d26f8bef73ce74858533b..b402c6965724c4d23b0554a99a1628da9c5fa6f7 100644
|
| --- a/third_party/WebKit/Source/wtf/text/StringHash.h
|
| +++ b/third_party/WebKit/Source/wtf/text/StringHash.h
|
| @@ -98,7 +98,10 @@ public:
|
|
|
| static inline bool equal(const StringImpl* a, const StringImpl* b)
|
| {
|
| - return equalIgnoringCaseNonNull(a, b);
|
| + DCHECK(a);
|
| + DCHECK(b);
|
| + // Save one branch inside StringView by derefing the StringImpl.
|
| + return equalIgnoringCaseAndNullity(*a, *b);
|
| }
|
|
|
| static unsigned hash(const RefPtr<StringImpl>& key)
|
|
|