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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontPlatformData.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/platform/fonts/FontPlatformData.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp b/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
index 93a0a88af855e419bef7f4f20f6b714b7ef7685a..6a4bcc06fb2f2c5417710717ece131b77fae84bc 100644
--- a/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
@@ -310,10 +310,11 @@ bool FontPlatformData::hasSpaceInLigaturesOrKerning(
unsigned FontPlatformData::hash() const {
unsigned h = SkTypeface::UniqueID(typeface());
- h ^= 0x01010101 * ((static_cast<int>(m_isHashTableDeletedValue) << 3) |
- (static_cast<int>(m_orientation) << 2) |
- (static_cast<int>(m_syntheticBold) << 1) |
- static_cast<int>(m_syntheticItalic));
+ h ^= 0x01010101 *
+ ((static_cast<int>(m_isHashTableDeletedValue) << 3) |
+ (static_cast<int>(m_orientation) << 2) |
+ (static_cast<int>(m_syntheticBold) << 1) |
+ static_cast<int>(m_syntheticItalic));
// This memcpy is to avoid a reinterpret_cast that breaks strict-aliasing
// rules. Memcpy is generally optimized enough so that performance doesn't

Powered by Google App Engine
This is Rietveld 408576698