http://trac.webkit.org/changeset/146375 causing CrOS crashes
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Mar 2013 21:37:38 +0000 (21:37 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Mar 2013 21:37:38 +0000 (21:37 +0000)
commit72b3f21e89bd5c774e8e8c8de49d93005ebf74c2
tree4ba62eb2ca63a52cf18cf048fca025cebbc3bf1d
parent928a6dd6902488f0185a1430fee6689f26b98581
trac.webkit.org/changeset/146375 causing CrOS crashes
https://bugs.webkit.org/show_bug.cgi?id=112958

Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-03-21
Reviewed by Adam Barth.

Source/WebCore:

Test: fast/flexbox/crash-anonymous-box.html

* rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::RenderDeprecatedFlexibleBox::RenderDeprecatedFlexibleBox):
Anonymous renderers don't have a node in their constructor, so
don't get document() in there.

LayoutTests:

* fast/flexbox/crash-anonymous-box-expected.txt: Added.
* fast/flexbox/crash-anonymous-box.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@146522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/flexbox/crash-anonymous-box-expected.txt [new file with mode: 0644]
LayoutTests/fast/flexbox/crash-anonymous-box.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp