| Index: ash/shelf/shelf_window_watcher.cc
|
| diff --git a/ash/shelf/shelf_window_watcher.cc b/ash/shelf/shelf_window_watcher.cc
|
| index ec2fde2b18e5c93629c57333b11ff6590edc1f68..c1112f4f1f1c13f3725c8666d66a05a10d2d8e03 100644
|
| --- a/ash/shelf/shelf_window_watcher.cc
|
| +++ b/ash/shelf/shelf_window_watcher.cc
|
| @@ -197,9 +197,9 @@ void ShelfWindowWatcher::AddShelfItem(aura::Window* window) {
|
| item.id.launch_id = base::IntToString(id++);
|
| }
|
|
|
| - model_->SetShelfItemDelegate(item.id,
|
| - base::MakeUnique<ShelfWindowWatcherItemDelegate>(
|
| - item.id, WmWindow::Get(window)));
|
| + model_->SetShelfItemDelegate(
|
| + item.id,
|
| + base::MakeUnique<ShelfWindowWatcherItemDelegate>(item.id, window));
|
| // Panels are inserted on the left so as not to push all existing panels over.
|
| model_->AddAt(item.type == TYPE_APP_PANEL ? 0 : model_->item_count(), item);
|
| }
|
|
|