| Index: sky/engine/core/rendering/InlineTextBox.cpp
|
| diff --git a/sky/engine/core/rendering/InlineTextBox.cpp b/sky/engine/core/rendering/InlineTextBox.cpp
|
| index 063e860a950ee76f9c2bf8ed8c9f6e4a13bcaaa0..6727f3492900c102a679c60338bd5b59a97460b4 100644
|
| --- a/sky/engine/core/rendering/InlineTextBox.cpp
|
| +++ b/sky/engine/core/rendering/InlineTextBox.cpp
|
| @@ -1231,7 +1231,7 @@ int InlineTextBox::caretMaxOffset() const
|
|
|
| float InlineTextBox::textPos() const
|
| {
|
| - // When computing the width of a text run, RenderBlock::computeInlineDirectionPositionsForLine() doesn't include the actual offset
|
| + // When computing the width of a text run, RenderParagraph::computeInlineDirectionPositionsForLine() doesn't include the actual offset
|
| // from the containing block edge in its measurement. textPos() should be consistent so the text are rendered in the same width.
|
| if (logicalLeft() == 0)
|
| return 0;
|
|
|