| Index: Source/core/rendering/RenderText.cpp
|
| diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
|
| index 4f3ca98a192a1cd2e4be81ffc2b8b168e15a0252..d083b2e1d0596e6d4d2ad3d09a16496e6ff82450 100644
|
| --- a/Source/core/rendering/RenderText.cpp
|
| +++ b/Source/core/rendering/RenderText.cpp
|
| @@ -1287,7 +1287,7 @@ void RenderText::setTextWithOffset(PassRefPtr<StringImpl> text, unsigned offset,
|
| }
|
| for (RootInlineBox* curr = firstRootBox; curr && curr != lastRootBox; curr = curr->nextRootBox()) {
|
| if (curr->lineBreakObj() == this && curr->lineBreakPos() > end)
|
| - curr->setLineBreakPos(clampToInteger(curr->lineBreakPos() + delta));
|
| + curr->setLineBreakPos(clampTo<int>(curr->lineBreakPos() + delta));
|
| }
|
|
|
| // If the text node is empty, dirty the line where new text will be inserted.
|
|
|