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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontFallbackList.cpp

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/FontFallbackList.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontFallbackList.cpp b/third_party/WebKit/Source/platform/fonts/FontFallbackList.cpp
index 08466964c9716576249f955b813490171a711f66..5c11ab986a720c95e1d1736d86897f9b8237ff89 100644
--- a/third_party/WebKit/Source/platform/fonts/FontFallbackList.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontFallbackList.cpp
@@ -125,8 +125,9 @@ const SimpleFontData* FontFallbackList::determinePrimarySimpleFontData(
fontData->fontDataForCharacter(spaceCharacter);
ASSERT(fontDataForSpace);
- // When a custom font is loading, we should use the correct fallback font to layout the text.
- // Here skip the temporary font for the loading custom font which may not act as the correct fallback font.
+ // When a custom font is loading, we should use the correct fallback font to
+ // layout the text. Here skip the temporary font for the loading custom
+ // font which may not act as the correct fallback font.
if (!fontDataForSpace->isLoadingFallback())
return fontDataForSpace;
@@ -228,8 +229,9 @@ const FontData* FontFallbackList::fontDataAt(
return 0;
// Ask the font cache for the font data.
- // We are obtaining this font for the first time. We keep track of the families we've looked at before
- // in |m_familyIndex|, so that we never scan the same spot in the list twice. getFontData will adjust our
+ // We are obtaining this font for the first time. We keep track of the
+ // families we've looked at before in |m_familyIndex|, so that we never scan
+ // the same spot in the list twice. getFontData will adjust our
// |m_familyIndex| as it scans for the right font to make.
ASSERT(FontCache::fontCache()->generation() == m_generation);
RefPtr<FontData> result = getFontData(fontDescription, m_familyIndex);

Powered by Google App Engine
This is Rietveld 408576698