Modernize RenderTreeAsText code
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Apr 2017 00:48:08 +0000 (00:48 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Apr 2017 00:48:08 +0000 (00:48 +0000)
commit30823b1f85f109664c14a85e80d30ab383a1e093
tree1365f80df4204b3e73808fab3d006b3ef71076a1
parentda4f884a71aee5d0cd5044d75a9b76cb75ea5ce7
Modernize RenderTreeAsText code
https://bugs.webkit.org/show_bug.cgi?id=171458

Reviewed by Zalan Bujtas.

Use modern loops. More references to render objects and layers.

* rendering/RenderTreeAsText.cpp:
(WebCore::write):
(WebCore::writeRenderNamedFlowThreads):
(WebCore::writeLayers):
(WebCore::writeSelection):
(WebCore::externalRepresentation):

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