Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: third_party/WebKit/Source/wtf/text/StringImpl.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 "
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringImpl.h ('k') | third_party/WebKit/Source/wtf/text/TextCodecICU.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698