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

Unified Diff: third_party/WebKit/Source/core/css/FontFaceSet.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
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFaceSet.h ('k') | third_party/WebKit/Source/core/css/FontSize.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/FontFaceSet.cpp
diff --git a/third_party/WebKit/Source/core/css/FontFaceSet.cpp b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
index 709ce9d671f14c3ea3146ba2bbbd17deb5383857..03f185fa6c69128cc6fd912566a56572a534bcac 100644
--- a/third_party/WebKit/Source/core/css/FontFaceSet.cpp
+++ b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
@@ -394,8 +394,8 @@ ScriptPromise FontFaceSet::load(ScriptState* scriptState,
LoadFontPromiseResolver* resolver =
LoadFontPromiseResolver::create(faces, scriptState);
ScriptPromise promise = resolver->promise();
- resolver->loadFonts(
- getExecutionContext()); // After this, resolver->promise() may return null.
+ // After this, resolver->promise() may return null.
+ resolver->loadFonts(getExecutionContext());
return promise;
}
@@ -441,7 +441,8 @@ bool FontFaceSet::resolveFontStyle(const String& fontString, Font& font) {
if (fontString.isEmpty())
return false;
- // Interpret fontString in the same way as the 'font' attribute of CanvasRenderingContext2D.
+ // Interpret fontString in the same way as the 'font' attribute of
+ // CanvasRenderingContext2D.
MutableStylePropertySet* parsedStyle =
MutableStylePropertySet::create(HTMLStandardMode);
CSSParser::parseValue(parsedStyle, CSSPropertyFont, fontString, true, 0);
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFaceSet.h ('k') | third_party/WebKit/Source/core/css/FontSize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698