Index: ash/common/test/test_shelf_delegate.cc |
diff --git a/ash/common/test/test_shelf_delegate.cc b/ash/common/test/test_shelf_delegate.cc |
index 7a6df080c4fcd3fefa424a3fb8326b746672ef76..d27d813f60b8ad91274774352893e3f3df9c5b3b 100644 |
--- a/ash/common/test/test_shelf_delegate.cc |
+++ b/ash/common/test/test_shelf_delegate.cc |
@@ -75,7 +75,7 @@ void TestShelfDelegate::AddShelfItem(WmWindow* window, ShelfItemStatus status) { |
item.type = TYPE_APP_PANEL; |
else |
item.type = TYPE_APP; |
- ShelfModel* model = WmShell::Get()->shelf_model(); |
+ ShelfModel* model = Shell::Get()->shelf_model(); |
ShelfID id = model->next_id(); |
item.status = status; |
model->Add(item); |
@@ -90,7 +90,7 @@ void TestShelfDelegate::RemoveShelfItemForWindow(WmWindow* window) { |
ShelfID shelf_id = window->aura_window()->GetProperty(kShelfIDKey); |
if (shelf_id == 0) |
return; |
- ShelfModel* model = WmShell::Get()->shelf_model(); |
+ ShelfModel* model = Shell::Get()->shelf_model(); |
int index = model->ItemIndexByID(shelf_id); |
DCHECK_NE(-1, index); |
model->RemoveItemAt(index); |