-
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. * svg/custom/tiling-regular-hexagonal-crash-expected.txt: Added. * svg/custom/tiling-regular-hexagonal-crash.svg: Added. 2010-03-02 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@55447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
28ad61de