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

Unified Diff: third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.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/linux/FontCacheLinux.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp b/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp
index 19e55527f3cf1195faedae6dd45015181eee925d..3ca9e050238b7516a61a636eeb77199fac8041e0 100644
--- a/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp
+++ b/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp
@@ -147,8 +147,9 @@ PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter(
}
if (fallbackFont.isItalic && description.style() == FontStyleNormal)
description.setStyle(FontStyleItalic);
- if (!fallbackFont.isItalic && (description.style() == FontStyleItalic ||
- description.style() == FontStyleOblique)) {
+ if (!fallbackFont.isItalic &&
+ (description.style() == FontStyleItalic ||
+ description.style() == FontStyleOblique)) {
shouldSetSyntheticItalic = true;
description.setStyle(FontStyleNormal);
}

Powered by Google App Engine
This is Rietveld 408576698