2011-04-20 Cris Neckar <cdn@chromium.org>
authorcdn@chromium.org <cdn@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Apr 2011 21:57:07 +0000 (21:57 +0000)
committercdn@chromium.org <cdn@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Apr 2011 21:57:07 +0000 (21:57 +0000)
commita7c72d5913964588336a1f5ce8a780a9ebb205d8
tree41b352769d292b4c2dbab5b96871d0a2e341e0eb
parent44bae96caa737f497b034465e2366d6c6e6ae8e5
2011-04-20  Cris Neckar  <cdn@chromium.org>

        Reviewed by Dirk Schulze.

        Tests for crash when copying a filter effect after applying tranforms.
        https://bugs.webkit.org/show_bug.cgi?id=57885

        * svg/filters/svg-transform-blur-crash-expected.txt: Added.
        * svg/filters/svg-transform-blur-crash.xhtml: Added.
2011-04-20  Cris Neckar  <cdn@chromium.org>

        Reviewed by Dirk Schulze.

        Return early when the paint rect and the source rect do not overlap as no bytes need to be copied.
        https://bugs.webkit.org/show_bug.cgi?id=57885

        Test: svg/filters/svg-transform-blur-crash.xhtml

        * platform/graphics/filters/FilterEffect.cpp:
        (WebCore::FilterEffect::copyImageBytes):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@84422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/filters/svg-transform-blur-crash-expected.txt [new file with mode: 0644]
LayoutTests/svg/filters/svg-transform-blur-crash.svg [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/filters/FilterEffect.cpp