Backport crash fix by Huzaifa Sidhpurwala <huzaifas@redhat.com>
authorHuzaifa Sidhpurwala <huzaifas@redhat.com>
Thu, 13 Jan 2011 08:13:14 +0000 (13:43 +0530)
committerHuzaifa Sidhpurwala <huzaifas@redhat.com>
Thu, 13 Jan 2011 08:13:14 +0000 (13:43 +0530)
commite0ef61576fd00bd6e14a70c96a230086febf1741
treee22bc0fbffc2bef4e0fd2bfce34c9f8c56d9aeb1
parente4d5282a2c43e32f6b1404c93a7ff254b2c1c6fe
Backport crash fix by Huzaifa Sidhpurwala <huzaifas@redhat.com>

    2010-12-29  Justin Schuh  <jschuh@chromium.org>

            Reviewed by Darin Adler.

            Check SVG element type in FrameView::scrollToAnchor
            https://bugs.webkit.org/show_bug.cgi?id=51718

            Test: svg/custom/scroll-to-anchor-in-symbol.svg

            * page/FrameView.cpp:
            (WebCore::FrameView::scrollToAnchor):
    2010-12-29  Justin Schuh  <jschuh@chromium.org>

            Reviewed by Darin Adler.

            Check SVG element type in FrameView::scrollToAnchor
            https://bugs.webkit.org/show_bug.cgi?id=51718

            * svg/custom/scroll-to-anchor-in-symbol-expected.txt: Added.
            * svg/custom/scroll-to-anchor-in-symbol.svg: Added.

    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/svg/custom/scroll-to-anchor-in-symbol-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/scroll-to-anchor-in-symbol.svg [new file with mode: 0644]
WebCore/page/FrameView.cpp