-
commit-queue@webkit.org authored
Reviewed by Beth Dakin. Crash in WebCore::RenderMathMLSubSup::baselinePosition() https://bugs.webkit.org/show_bug.cgi?id=57897 Added simple test that hits the relevant code. * mathml/msubsup-remove-children-expected.txt: Added. * mathml/msubsup-remove-children.xhtml: Added. 2011-06-04 Jeffrey Pfau <jpfau@apple.com> Reviewed by Beth Dakin. Crash in WebCore::RenderMathMLSubSup::baselinePosition() https://bugs.webkit.org/show_bug.cgi?id=57897 Simple patch adding NULL checks in each function. Test: mathml/msubsup-remove-children.xhtml * rendering/mathml/RenderMathMLSubSup.cpp: (WebCore::RenderMathMLSubSup::stretchToHeight): (WebCore::RenderMathMLSubSup::baselinePosition): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1264d9e7