| Index: third_party/WebKit/Source/core/layout/line/LineWidth.h
|
| diff --git a/third_party/WebKit/Source/core/layout/line/LineWidth.h b/third_party/WebKit/Source/core/layout/line/LineWidth.h
|
| index 6da9e5fb627c9d0fdd046517c241349bc0e5d98c..fbddd95d1c184c750de2ab278a50a0cfb7b1fe9a 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/LineWidth.h
|
| +++ b/third_party/WebKit/Source/core/layout/line/LineWidth.h
|
| @@ -63,12 +63,14 @@ class LineWidth {
|
| return w <= m_availableWidth;
|
| }
|
|
|
| - // Note that m_uncommittedWidth may not be LayoutUnit-snapped at this point. Because
|
| - // currentWidth() is used by the code that lays out words in a single LayoutText, it's
|
| - // expected that offsets will not be snapped until an InlineBox boundary is reached.
|
| + // Note that m_uncommittedWidth may not be LayoutUnit-snapped at this point.
|
| + // Because currentWidth() is used by the code that lays out words in a single
|
| + // LayoutText, it's expected that offsets will not be snapped until an
|
| + // InlineBox boundary is reached.
|
| float currentWidth() const { return m_committedWidth + m_uncommittedWidth; }
|
|
|
| - // FIXME: We should eventually replace these three functions by ones that work on a higher abstraction.
|
| + // FIXME: We should eventually replace these three functions by ones that work
|
| + // on a higher abstraction.
|
| float uncommittedWidth() const { return m_uncommittedWidth; }
|
| float committedWidth() const { return m_committedWidth; }
|
| float availableWidth() const { return m_availableWidth; }
|
| @@ -103,8 +105,9 @@ class LineWidth {
|
| LineLayoutBlockFlow m_block;
|
| float m_uncommittedWidth;
|
| float m_committedWidth;
|
| - float
|
| - m_overhangWidth; // The amount by which |m_availableWidth| has been inflated to account for possible contraction due to ruby overhang.
|
| + // The amount by which |m_availableWidth| has been inflated to account for
|
| + // possible contraction due to ruby overhang.
|
| + float m_overhangWidth;
|
| float m_trailingWhitespaceWidth;
|
| LayoutUnit m_left;
|
| LayoutUnit m_right;
|
|
|