| Index: ui/message_center/cocoa/notification_controller_unittest.mm
|
| diff --git a/ui/message_center/cocoa/notification_controller_unittest.mm b/ui/message_center/cocoa/notification_controller_unittest.mm
|
| index 91d1b1b694a88656f893e71ff2a060a16e59dfde..4a774414ceda17786f1a05f076f2331be8fcd63d 100644
|
| --- a/ui/message_center/cocoa/notification_controller_unittest.mm
|
| +++ b/ui/message_center/cocoa/notification_controller_unittest.mm
|
| @@ -405,8 +405,7 @@ TEST_F(NotificationControllerTest, MessageSize) {
|
|
|
| // Message, image and no title: 2 lines.
|
| SkBitmap bitmap;
|
| - bitmap.setConfig(SkBitmap::kARGB_8888_Config, 2, 2);
|
| - bitmap.allocPixels();
|
| + bitmap.allocN32Pixels(2, 2);
|
| bitmap.eraseColor(SK_ColorGREEN);
|
| notification->set_title(ASCIIToUTF16(""));
|
| notification->set_image(gfx::Image::CreateFrom1xBitmap(bitmap));
|
|
|