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

Unified Diff: third_party/WebKit/Source/core/css/CSSFontFaceSource.cpp

Issue 2392343005: Reflow comments in core/css (Closed)
Patch Set: Revert clang-format 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/core/css/CSSFontFaceSource.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSFontFaceSource.cpp b/third_party/WebKit/Source/core/css/CSSFontFaceSource.cpp
index c179f67ed8422ded98843f28a1e1596963b866de..2a7384bd11b18769e8f39e0db4b5bc42fc60b849 100644
--- a/third_party/WebKit/Source/core/css/CSSFontFaceSource.cpp
+++ b/third_party/WebKit/Source/core/css/CSSFontFaceSource.cpp
@@ -49,14 +49,17 @@ PassRefPtr<SimpleFontData> CSSFontFaceSource::getFontData(
}
// See if we have a mapping in our FontData cache.
- // TODO(drott): Check whether losing traits information here is problematic. crbug.com/516677
+ // TODO(drott): Check whether losing traits information here is problematic.
+ // crbug.com/516677
FontCacheKey key = fontDescription.cacheKey(FontFaceCreationParams());
RefPtr<SimpleFontData>& fontData =
m_fontDataTable.add(key, nullptr).storedValue->value;
if (!fontData)
fontData = createFontData(fontDescription);
- return fontData; // No release, because fontData is a reference to a RefPtr that is held in the m_fontDataTable.
+ // No release, because fontData is a reference to a RefPtr that is held in the
+ // m_fontDataTable.
+ return fontData;
}
DEFINE_TRACE(CSSFontFaceSource) {

Powered by Google App Engine
This is Rietveld 408576698