Simple line layout: Refactor line wrapping logic.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Jan 2015 01:13:44 +0000 (01:13 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Jan 2015 01:13:44 +0000 (01:13 +0000)
commitfacabf0e2ff93b56382b7dd2e3f0fa477dba37fe
treef3f701f648834584f336d2b1b51217e01f12a3fb
parent01c366f7b27138034cfe20a310c48d8a3c01fcf2
Simple line layout: Refactor line wrapping logic.
https://bugs.webkit.org/show_bug.cgi?id=140834

Reviewed by Antti Koivisto.

Use a more readable structure to deal with wrapping logic.

No change in functionality.

* rendering/SimpleLineLayout.cpp:
(WebCore::SimpleLineLayout::createLineRuns):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/SimpleLineLayout.cpp