-
inferno@chromium.org authored
Reviewed by Dave Hyatt. Regression(r75823): Revert initialization back to the first RenderBlock in the parent chain. https://bugs.webkit.org/show_bug.cgi?id=60780 Test: fast/block/float/float-not-removed-crash.html * rendering/RenderBox.cpp: (WebCore::RenderBox::removeFloatingOrPositionedChildFromBlockLists): In r75823, I forgot to initialize parentBlock, when the original code did and Hyatt did mention in c#5. Now, initializing parentBlock to the first RenderBlock in the parent chain. 2011-05-13 Abhishek Arya <inferno@chromium.org> Reviewed by Dave Hyatt. Tests that we do not crash when trying to access a deleted float. https://bugs.webkit.org/show_bug.cgi?id=60780 * fast/block/float/float-not-removed-crash-expected.txt: Added. * fast/block/float/float-not-removed-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86448 268f45cc-cd09-0410-ab3c-d52691b4dbfc
28ed1a04