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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h

Issue 2386333002: reflow comments in platform/fonts (Closed)
Patch Set: 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/FontFaceCreationParams.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h b/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
index d7c3698a65faa15a3e3920fbd9cc5a261f0060ab..79cb6ab447c246435df8aad6db70ff5667ab8860 100644
--- a/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
+++ b/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
@@ -59,10 +59,10 @@ class FontFaceCreationParams {
m_fontconfigInterfaceId(0),
m_ttcIndex(0) {
#if OS(WIN)
- // Leading "@" in the font name enables Windows vertical flow flag for the font.
- // Because we do vertical flow by ourselves, we don't want to use the Windows feature.
- // IE disregards "@" regardless of the orientation, so we follow the behavior and
- // normalize the family name.
+ // Leading "@" in the font name enables Windows vertical flow flag for the
+ // font. Because we do vertical flow by ourselves, we don't want to use the
+ // Windows feature. IE disregards "@" regardless of the orientation, so we
+ // follow the behavior and normalize the family name.
m_family = (m_family.isEmpty() || m_family[0] != '@')
? m_family
: AtomicString(m_family.impl()->substring(1));
@@ -98,10 +98,10 @@ class FontFaceCreationParams {
unsigned hash() const {
if (m_creationType == CreateFontByFciIdAndTtcIndex) {
StringHasher hasher;
- // Hashing the filename and ints in this way is sensitive to character encoding
- // and endianness. However, since the hash is not transferred over a network
- // or permanently stored and only used for the runtime of Chromium,
- // this is not a concern.
+ // Hashing the filename and ints in this way is sensitive to character
+ // encoding and endianness. However, since the hash is not transferred
+ // over a network or permanently stored and only used for the runtime of
+ // Chromium, this is not a concern.
hasher.addCharacters(reinterpret_cast<const LChar*>(m_filename.data()),
m_filename.length());
hasher.addCharacters(reinterpret_cast<const LChar*>(&m_ttcIndex),

Powered by Google App Engine
This is Rietveld 408576698