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

Unified Diff: third_party/WebKit/Source/core/css/CSSSegmentedFontFace.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/CSSSegmentedFontFace.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
index a6366754ee6b5b2cc03419b3c0d05758955e98a3..82a86b986a43891975979e43d67c33e05f306e4c 100644
--- a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
+++ b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
@@ -103,8 +103,11 @@ PassRefPtr<FontData> CSSSegmentedFontFace::getFontData(
RefPtr<SegmentedFontData>& fontData =
m_fontDataTable.add(key, nullptr).storedValue->value;
- if (fontData && fontData->numFaces())
- return fontData; // No release, we have a reference to an object in the cache which should retain the ref count it has.
+ if (fontData && fontData->numFaces()) {
+ // No release, we have a reference to an object in the cache which should
+ // retain the ref count it has.
+ return fontData;
+ }
if (!fontData)
fontData = SegmentedFontData::create();
@@ -133,8 +136,11 @@ PassRefPtr<FontData> CSSSegmentedFontFace::getFontData(
faceFontData.release(), (*it)->cssFontFace()->ranges())));
}
}
- if (fontData->numFaces())
- return fontData; // No release, we have a reference to an object in the cache which should retain the ref count it has.
+ if (fontData->numFaces()) {
+ // No release, we have a reference to an object in the cache which should
+ // retain the ref count it has.
+ return fontData;
+ }
return nullptr;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPropertySourceData.h ('k') | third_party/WebKit/Source/core/css/CSSSelector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698