DescriptionFix crash when allocation of very large HTML canvas fails.
This change introduces skia::TryCreateBitmapCanvas, which is a
non-crashing version of CreateBitmapCanvas. This patch alone
does not fix that crash. A patch in WebKit will be necessary
to make the ImageBuffer constructor in ImageBufferSkia.cpp
call TryCreateBitmapCanvas.
BUG=88038
TEST=http://www.atopon.org/maze/
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97474
Patch Set 1 #Patch Set 2 : '' #
Total comments: 2
Messages
Total messages: 4 (0 generated)
|