DescriptionMake canvas code a bit more resilient to crashes.
* Initialize PAINTSTRUCT to prevent crash if BeginPaint fails.
* Sanitize width-height for empty bitmaps.
* Return failure from initialize instead of crashing at that point.
BUG=3795
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=4914
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #Patch Set 4 : '' #Patch Set 5 : '' #Patch Set 6 : '' #
Messages
Total messages: 4 (0 generated)
|