Add 8-bit path to RenderBlock::handleTrailingSpaces()
https://bugs.webkit.org/show_bug.cgi?id=99731

Reviewed by Dan Bernstein.

Factored out and added findFirstTrailingSpace() templated helper function that is called with the
approriate character pointer type.

No tests needed, change covered by existing tests.

* rendering/RenderBlockLineLayout.cpp:
(WebCore::findFirstTrailingSpace):
(WebCore::RenderBlock::handleTrailingSpaces):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed