Source/WebCore: [Chromium] Crash when allocation of very large canvas fails
https://bugs.webkit.org/show_bug.cgi?id=66563 Replacing the crash with a more graceful failure: canvas will not render. Patch by Justin Novosad <junov@chromium.org> on 2011-08-22 Reviewed by Stephen White. * platform/graphics/skia/ImageBufferSkia.cpp: (WebCore::ImageBuffer::ImageBuffer): Invoking TryCreateBitmapCanvas instead of CreateBitmapCanvas This is the non-crashing version of the factory function. It returns NULL if allocation fails. Code for handling NULL pointer was already in place. Source/WebKit/chromium: [Chromium] Crash when allocation of very large canvas fails https://bugs.webkit.org/show_bug.cgi?id=66563 Patch by Justin Novosad <junov@chromium.org> on 2011-08-22 Reviewed by Stephen White. * DEPS: Bumping up the chrome DEPS to pick up 97474, which is required by this patch. git-svn-id: svn://svn.chromium.org/blink/trunk@93512 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment