| Index: chrome/browser/notifications/notification_conversion_helper.cc
|
| diff --git a/chrome/browser/notifications/notification_conversion_helper.cc b/chrome/browser/notifications/notification_conversion_helper.cc
|
| index 800adc11c620a685ea9f8a419625689ed5fe9a3e..dc2c1f5ae09c1fd10b865a56431401df465b5d68 100644
|
| --- a/chrome/browser/notifications/notification_conversion_helper.cc
|
| +++ b/chrome/browser/notifications/notification_conversion_helper.cc
|
| @@ -168,7 +168,7 @@ bool NotificationConversionHelper::NotificationBitmapToGfxImage(
|
|
|
| SkBitmap bitmap;
|
| // Allocate the actual backing store with the sanitized dimensions.
|
| - if (!bitmap.allocN32Pixels(width, height))
|
| + if (!bitmap.tryAllocN32Pixels(width, height))
|
| return false;
|
|
|
| // Ensure that our bitmap and our data now refer to the same number of pixels.
|
|
|