Index: third_party/WebKit/Source/wtf/text/StringImpl.cpp |
diff --git a/third_party/WebKit/Source/wtf/text/StringImpl.cpp b/third_party/WebKit/Source/wtf/text/StringImpl.cpp |
index 8056edbf1a072256ba17aee76c66b3685949c469..0a1fa61c0378b4b4c218c346a7fb143c7f4a6745 100644 |
--- a/third_party/WebKit/Source/wtf/text/StringImpl.cpp |
+++ b/third_party/WebKit/Source/wtf/text/StringImpl.cpp |
@@ -265,10 +265,9 @@ void StringStats::printStats() { |
m_number16BitStrings, percent16Bit, m_total16BitData, |
m_total16BitData * 2, average16bitLength); |
- double averageLength = |
- m_totalNumberStrings |
- ? (double)totalNumberCharacters / (double)m_totalNumberStrings |
- : 0.0; |
+ double averageLength = m_totalNumberStrings ? (double)totalNumberCharacters / |
+ (double)m_totalNumberStrings |
+ : 0.0; |
unsigned long long totalDataBytes = m_total8BitData + m_total16BitData * 2; |
dataLogF( |
"%8u Total %12llu chars %12llu bytes avg length " |