| Index: ash/desktop_background/wallpaper_resizer_unittest.cc
|
| diff --git a/ash/desktop_background/wallpaper_resizer_unittest.cc b/ash/desktop_background/wallpaper_resizer_unittest.cc
|
| index 240dc8e048565c758ad41dc455f8747aa2d3be74..fb951ef265319a47817bd32891176a3dc3e264c5 100644
|
| --- a/ash/desktop_background/wallpaper_resizer_unittest.cc
|
| +++ b/ash/desktop_background/wallpaper_resizer_unittest.cc
|
| @@ -27,8 +27,7 @@ gfx::ImageSkia CreateTestImage(const gfx::Size& size) {
|
| SkBitmap src;
|
| int w = size.width();
|
| int h = size.height();
|
| - src.setConfig(SkBitmap::kARGB_8888_Config, w, h);
|
| - src.allocPixels();
|
| + src.allocN32Pixels(w, h);
|
|
|
| // Fill bitmap with data.
|
| for (int y = 0; y < h; ++y) {
|
|
|