| Index: ash/wm/image_grid_unittest.cc
|
| diff --git a/ash/wm/image_grid_unittest.cc b/ash/wm/image_grid_unittest.cc
|
| index 715ddb95054eae9c3ce85f49d10027319544cb80..cf533b557eba3f7ffbdb8d404fb47d3f0c41d06b 100644
|
| --- a/ash/wm/image_grid_unittest.cc
|
| +++ b/ash/wm/image_grid_unittest.cc
|
| @@ -17,8 +17,8 @@ namespace {
|
|
|
| // Creates a gfx::Image with the requested dimensions.
|
| gfx::Image* CreateImage(const gfx::Size& size) {
|
| - SkBitmap* bitmap = new SkBitmap();
|
| - bitmap->setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height());
|
| + SkBitmap bitmap;
|
| + bitmap.setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height());
|
| return new gfx::Image(bitmap);
|
| }
|
|
|
|
|