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

Unified Diff: third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.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/skia/FontCacheSkia.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
index cbcf86654171b81048f482a52b795167ed59772e..556ee0c2ad23a7ad035924e1ef45b552c5671d8d 100644
--- a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
+++ b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
@@ -268,15 +268,16 @@ std::unique_ptr<FontPlatformData> FontCache::createFontPlatformData(
if (!tf)
return nullptr;
- return WTF::wrapUnique(new FontPlatformData(
- tf, name.data(), fontSize, (numericFontWeight(fontDescription.weight()) >
- 200 + tf->fontStyle().weight()) ||
- fontDescription.isSyntheticBold(),
- ((fontDescription.style() == FontStyleItalic ||
- fontDescription.style() == FontStyleOblique) &&
- !tf->isItalic()) ||
- fontDescription.isSyntheticItalic(),
- fontDescription.orientation()));
+ return WTF::wrapUnique(
+ new FontPlatformData(tf, name.data(), fontSize,
+ (numericFontWeight(fontDescription.weight()) >
+ 200 + tf->fontStyle().weight()) ||
+ fontDescription.isSyntheticBold(),
+ ((fontDescription.style() == FontStyleItalic ||
+ fontDescription.style() == FontStyleOblique) &&
+ !tf->isItalic()) ||
+ fontDescription.isSyntheticItalic(),
+ fontDescription.orientation()));
}
#endif // !OS(WIN)

Powered by Google App Engine
This is Rietveld 408576698