Backport crash fix by Huzaifa Sidhpurwala <huzaifas@redhat.com>
authorHuzaifa Sidhpurwala <huzaifas@redhat.com>
Fri, 21 Jan 2011 09:56:11 +0000 (15:26 +0530)
committerHuzaifa Sidhpurwala <huzaifas@redhat.com>
Fri, 21 Jan 2011 09:56:11 +0000 (15:26 +0530)
commit6402d4450a68bd318fee1f589c8855ea163ea391
tree9e8c59acb307466fae0d264a1e0dd6880f924727
parent34df60de3d8e524662995beb9243033c24a61797
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
WebCore/page/FrameView.cpp