No need to truncate text after calling InlineTextBox::text()
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Oct 2017 21:42:19 +0000 (21:42 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Oct 2017 21:42:19 +0000 (21:42 +0000)
commitb36d6255f5373aed341fc05ece9bbe8327573650
tree1c69a53fdf1217bc7af501e632adc7cd04be9db9
parent65e89106f62231fe63cb9b84ee6f421f56f2bd22
No need to truncate text after calling InlineTextBox::text()
https://bugs.webkit.org/show_bug.cgi?id=177748

Reviewed by Zalan Bujtas.

Following r222670 it is no longer necessary to explicitly truncate the text run length
as InlineTextBox::text() returns a text run with respect to the truncation of the text box.

No functionality changed. So, no new tests.

* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::paint):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@222745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/InlineTextBox.cpp