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

Unified Diff: third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm

Issue 2386333002: reflow comments in platform/fonts (Closed)
Patch Set: comments Created 4 years, 2 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/mac/FontPlatformDataMac.mm
diff --git a/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm b/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
index 382fc4c79a50bb100d85ffebadfbe34d1376a320..27a754ddbf36f18ad235eea62e32adda3205eda3 100644
--- a/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
+++ b/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
@@ -128,7 +128,8 @@ void FontPlatformData::setupPaint(SkPaint* paint,
shouldSmoothFonts = false;
break;
case AutoSmoothing:
- // For the AutoSmooth case, don't do anything! Keep the default settings.
+ // For the AutoSmooth case, don't do anything! Keep the default
+ // settings.
break;
}
}
@@ -149,9 +150,9 @@ void FontPlatformData::setupPaint(SkPaint* paint,
paint->setLCDRenderText(shouldSmoothFonts);
paint->setSubpixelText(true);
- // When rendering using CoreGraphics, disable hinting when webkit-font-smoothing:antialiased or
- // text-rendering:geometricPrecision is used.
- // See crbug.com/152304
+ // When rendering using CoreGraphics, disable hinting when
+ // webkit-font-smoothing:antialiased or text-rendering:geometricPrecision is
+ // used. See crbug.com/152304
if (font &&
(font->getFontDescription().fontSmoothing() == Antialiased ||
font->getFontDescription().textRendering() == GeometricPrecision))
@@ -172,8 +173,8 @@ FontPlatformData::FontPlatformData(NSFont* nsFont,
if (canLoadInProcess(nsFont)) {
m_typeface.reset(SkCreateTypefaceFromCTFont(toCTFontRef(nsFont)));
} else {
- // In process loading fails for cases where third party font manager software
- // registers fonts in non system locations such as /Library/Fonts
+ // In process loading fails for cases where third party font manager
+ // software registers fonts in non system locations such as /Library/Fonts
// and ~/Library Fonts, see crbug.com/72727 or crbug.com/108645.
m_typeface = loadFromBrowserProcess(nsFont, size);
}

Powered by Google App Engine
This is Rietveld 408576698