Index: ash/shell/window_watcher.cc |
diff --git a/ash/shell/window_watcher.cc b/ash/shell/window_watcher.cc |
index 44edaa4af64322d9cba7ca3b4692d9eca0f1dc08..d7bc72683c307b2c46bcf19e2f0673f81e4b6bc3 100644 |
--- a/ash/shell/window_watcher.cc |
+++ b/ash/shell/window_watcher.cc |
@@ -105,8 +105,7 @@ void WindowWatcher::OnWindowAdded(aura::Window* new_window) { |
id_to_window_[id] = new_window; |
SkBitmap icon_bitmap; |
- icon_bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); |
- icon_bitmap.allocPixels(); |
+ icon_bitmap.allocN32Pixels(16, 16); |
icon_bitmap.eraseARGB(255, |
image_count == 0 ? 255 : 0, |
image_count == 1 ? 255 : 0, |