Index: chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc |
diff --git a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc |
index 34d9e9460ebc47a07c7fa0478905091faef40248..6601b171b6e0feaa72b8929f598b510310c479dc 100644 |
--- a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc |
+++ b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc |
@@ -146,7 +146,8 @@ bool AppWindowLauncherItemController::IsDraggable() { |
} |
bool AppWindowLauncherItemController::CanPin() const { |
- return launcher_controller()->CanPin(app_id()); |
+ return launcher_controller()->GetPinnable(app_id()) == |
+ AppListControllerDelegate::PIN_EDITABLE; |
} |
bool AppWindowLauncherItemController::ShouldShowTooltip() { |