Index: ui/message_center/views/notification_view_unittest.cc |
diff --git a/ui/message_center/views/notification_view_unittest.cc b/ui/message_center/views/notification_view_unittest.cc |
index b6d67526905cfbf380fea2fcfb9e19ced3de8d41..fc2116eae7879fa38539815f1aee6003a8438abf 100644 |
--- a/ui/message_center/views/notification_view_unittest.cc |
+++ b/ui/message_center/views/notification_view_unittest.cc |
@@ -54,8 +54,7 @@ class NotificationViewTest : public views::ViewsTestBase, |
const SkBitmap CreateBitmap(int width, int height) { |
SkBitmap bitmap; |
- bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height); |
- bitmap.allocPixels(); |
+ bitmap.allocN32Pixels(width, height); |
bitmap.eraseRGB(0, 255, 0); |
return bitmap; |
} |