DescriptionCheck for null context
https://bugs.webkit.org/show_bug.cgi?id=69149
describes a situation where running webkit tests
sporadically crashes in the Debug build.
The context returned by CGContextForData is NULL,
so an early return prevents the BitmapPlatformDevice
constructor from firing an assert in this case.
The callers already anticipate a NULL result, and
will propogate the error correctly.
BUG=WK69149
TEST=run webkit tests in a Debug build repeatedly
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104374
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|