diff options
Diffstat (limited to 'ash/shell')
-rw-r--r-- | ash/shell/shell_main.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ash/shell/shell_main.cc b/ash/shell/shell_main.cc index 339010b..b56cfe0 100644 --- a/ash/shell/shell_main.cc +++ b/ash/shell/shell_main.cc @@ -76,7 +76,8 @@ class WindowWatcher : public aura::WindowObserver { virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE { static int image_count = 0; ash::LauncherModel* model = ash::Shell::GetInstance()->launcher()->model(); - ash::LauncherItem item(ash::TYPE_TABBED); + ash::LauncherItem item; + item.type = ash::TYPE_TABBED; id_to_window_[model->next_id()] = new_window; item.num_tabs = image_count + 1; item.image.setConfig(SkBitmap::kARGB_8888_Config, 16, 16); |