Use RenderChildIterator in a couple of places.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Nov 2013 21:18:19 +0000 (21:18 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Nov 2013 21:18:19 +0000 (21:18 +0000)
commit2b7dc96d2862b234366a611b362d54d79cd059f4
treefb5883d763080f31e3d9593652459d7bf7edb8e3
parent4b5bd91f7925f302fa7fbc256d4edf3e3ff0659e
Use RenderChildIterator in a couple of places.
<https://webkit.org/b/123684>

Added isRendererOfType() for RenderBox and RenderBlock and switch
some loops over to using childrenOfType<>. Also sprinkled const
and references on touched code.

Reviewed by Antti Koivisto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlock.cpp
Source/WebCore/rendering/RenderBlock.h
Source/WebCore/rendering/RenderBox.cpp
Source/WebCore/rendering/RenderBox.h
Source/WebCore/rendering/RenderTable.cpp
Source/WebCore/rendering/RenderView.cpp
Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp