<rdar://problem/10156263> ASSERT in WebCore::FrameView::scheduleRelayoutOfSubtree
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Sep 2011 23:58:13 +0000 (23:58 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Sep 2011 23:58:13 +0000 (23:58 +0000)
commite76528cdf20e07e995de16b3d509fcdf50d2ee9d
tree304d3098f9c654ea9aec34dee276d976eae0fa64
parent2a44d1fe4de4b0a70fbbd2f10b8e3a69a5388c98
<rdar://problem/10156263> ASSERT in WebCore::FrameView::scheduleRelayoutOfSubtree

Reviewed by Sam Weinig.

Source/WebCore:

Test: fast/dynamic/subtree-unrooted.html

* rendering/RenderObject.cpp:
(WebCore::RenderObject::scheduleRelayout): Replaced the check that the renderer is parented,
which was added in r21162, with a check that it is “rooted”.

LayoutTests:

* fast/dynamic/subtree-unrooted-expected.txt: Added.
* fast/dynamic/subtree-unrooted.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dynamic/subtree-unrooted-expected.txt [new file with mode: 0644]
LayoutTests/fast/dynamic/subtree-unrooted.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderObject.cpp