Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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. Canonical link: https://commits.webkit.org/82494@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@93512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
19b5522
commit f2cc3b5076aa7c73301918678245cfa33003900f
Showing
4 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -32,7 +32,7 @@ | ||
|
||
vars = { | ||
'chromium_svn': 'http://src.chromium.org/svn/trunk/src', | ||
'chromium_rev': '96940' | ||
'chromium_rev': '97474' | ||
} | ||
|
||
deps = { | ||