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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutText.h

Issue 2405633002: Reformat comments in core/layout (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/core/layout/LayoutText.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h
index 5dc7f14ad60c6eba0ffba99a51f8d7c259d660cd..10012e112e1b1f5dbe055d73c1b84714c7deacee 100644
--- a/third_party/WebKit/Source/core/layout/LayoutText.h
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h
@@ -191,7 +191,8 @@ class CORE_EXPORT LayoutText : public LayoutObject {
InlineTextBox* firstTextBox() const { return m_firstTextBox; }
InlineTextBox* lastTextBox() const { return m_lastTextBox; }
- // True if we have inline text box children which implies rendered text (or whitespace) output.
+ // True if we have inline text box children which implies rendered text (or
+ // whitespace) output.
bool hasTextBoxes() const { return firstTextBox(); }
int caretMinOffset() const override;
@@ -286,19 +287,20 @@ class CORE_EXPORT LayoutText : public LayoutObject {
void checkConsistency() const;
// We put the bitfield first to minimize padding on 64-bit.
- bool
- m_hasBreakableChar : 1; // Whether or not we can be broken into multiple lines.
- bool
- m_hasBreak : 1; // Whether or not we have a hard break (e.g., <pre> with '\n').
- bool
- m_hasTab : 1; // Whether or not we have a variable width tab character (e.g., <pre> with '\t').
+
+ // Whether or not we can be broken into multiple lines.
+ bool m_hasBreakableChar : 1;
+ // Whether or not we have a hard break (e.g., <pre> with '\n').
+ bool m_hasBreak : 1;
+ // Whether or not we have a variable width tab character (e.g., <pre> with '\t').
+ bool m_hasTab : 1;
bool m_hasBreakableStart : 1;
bool m_hasBreakableEnd : 1;
bool m_hasEndWhiteSpace : 1;
- // This bit indicates that the text run has already dirtied specific
- // line boxes, and this hint will enable layoutInlineChildren to avoid
- // just dirtying everything when character data is modified (e.g., appended/inserted
- // or removed).
+ // This bit indicates that the text run has already dirtied specific line
+ // boxes, and this hint will enable layoutInlineChildren to avoid just
+ // dirtying everything when character data is modified (e.g., appended/
+ // inserted or removed).
bool m_linesDirty : 1;
bool m_containsReversedText : 1;
bool m_canUseSimpleFontCodePath : 1;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698