Descriptionreturn NULL if we failed to allocate a cairo surface, rather than waiting for skia to
crash with a null-bitmap-ptr. The callers already check for a NULL-BitmapPlatformDevice
return value.
Places where we perform this check/return on other platforms
bitmap_platform_device_win.cc#187 iff CreateDIBSection failed
bitmap_platform_device_mac.cc#120,144
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148959
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|