| Index: ash/common/shelf/shelf_window_watcher.cc
|
| diff --git a/ash/common/shelf/shelf_window_watcher.cc b/ash/common/shelf/shelf_window_watcher.cc
|
| index adb20b81b635515c19b7420a76632f2a55cd2573..c8a8b482f0ce5abd0b8b8da1945a1656d71bd1d1 100644
|
| --- a/ash/common/shelf/shelf_window_watcher.cc
|
| +++ b/ash/common/shelf/shelf_window_watcher.cc
|
| @@ -172,7 +172,7 @@ void ShelfWindowWatcher::AddShelfItem(aura::Window* window) {
|
|
|
| void ShelfWindowWatcher::RemoveShelfItem(aura::Window* window) {
|
| user_windows_with_items_.erase(window);
|
| - int shelf_id = window->GetProperty(kShelfIDKey);
|
| + ShelfID shelf_id = window->GetProperty(kShelfIDKey);
|
| DCHECK_NE(shelf_id, kInvalidShelfID);
|
| int index = model_->ItemIndexByID(shelf_id);
|
| DCHECK_GE(index, 0);
|
|
|