Index: third_party/WebKit/Source/wtf/text/StringImpl.h |
diff --git a/third_party/WebKit/Source/wtf/text/StringImpl.h b/third_party/WebKit/Source/wtf/text/StringImpl.h |
index def8e4e40aaba0193a2cb9b7b35725eed7e58e6c..c292b1b42b80e6d5bc658fc39212c279e6e94afa 100644 |
--- a/third_party/WebKit/Source/wtf/text/StringImpl.h |
+++ b/third_party/WebKit/Source/wtf/text/StringImpl.h |
@@ -285,10 +285,11 @@ class WTF_EXPORT StringImpl { |
DCHECK(!hasHash()); |
// Multiple clients assume that StringHasher is the canonical string |
// hash function. |
- DCHECK(hash == (is8Bit() ? StringHasher::computeHashAndMaskTop8Bits( |
- characters8(), m_length) |
- : StringHasher::computeHashAndMaskTop8Bits( |
- characters16(), m_length))); |
+ DCHECK(hash == |
+ (is8Bit() ? StringHasher::computeHashAndMaskTop8Bits(characters8(), |
+ m_length) |
+ : StringHasher::computeHashAndMaskTop8Bits(characters16(), |
+ m_length))); |
m_hash = hash; |
DCHECK(hash); // Verify that 0 is a valid sentinel hash value. |
} |
@@ -523,8 +524,9 @@ class WTF_EXPORT StringImpl { |
#if DCHECK_IS_ON() |
void assertHashIsCorrect() { |
DCHECK(hasHash()); |
- DCHECK_EQ(existingHash(), StringHasher::computeHashAndMaskTop8Bits( |
- characters8(), length())); |
+ DCHECK_EQ( |
+ existingHash(), |
+ StringHasher::computeHashAndMaskTop8Bits(characters8(), length())); |
} |
#endif |