• eric@webkit.org's avatar
    2010-03-04 Evan Stade <estade@chromium.org> · 6c5bb944
    eric@webkit.org authored
            Reviewed by David Levin.
    
            https://bugs.webkit.org/show_bug.cgi?id=35261
            [skia] crash when attempting to render certain SVGs with Skia
    
            This test passes if it doesn't crash.
    
            * platform/mac/Skipped: Skip the test on Mac, where it crashes.
            * svg/custom/tiling-regular-hexagonal-crash-expected.txt: Added.
            * svg/custom/tiling-regular-hexagonal-crash.svg: Added.
    2010-03-04  Evan Stade  <estade@chromium.org>
    
            Reviewed by David Levin.
    
            https://bugs.webkit.org/show_bug.cgi?id=35261
            [skia] crash when attempting to render certain SVGs
    
            This fixes the crash, but the SVG still doesn't render properly.
    
            Test: svg/custom/tiling-regular-hexagonal-crash.svg
    
            * platform/graphics/skia/ImageSkia.cpp:
            (WebCore::BitmapImageSingleFrameSkia::create): don't return 0 when
            the copy fails; instead return a blank bitmap. The caller doesn't
            check for 0 before dereferencing.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6c5bb944
ChangeLog 250 KB