Index: ash/launcher/launcher_view.cc |
diff --git a/ash/launcher/launcher_view.cc b/ash/launcher/launcher_view.cc |
index ead087924d3bf0044ba5398ebc7f7498422ee3f7..31d61ecf54821c5c97833cbccf7666f29a961d54 100644 |
--- a/ash/launcher/launcher_view.cc |
+++ b/ash/launcher/launcher_view.cc |
@@ -1482,8 +1482,8 @@ void LauncherView::ButtonPressed(views::Button* sender, |
Shell::GetInstance()->ToggleAppList(GetWidget()->GetNativeView()); |
// By setting us as DnD recipient, the app list knows that we can |
// handle items. |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- ash::switches::kAshDragAndDropAppListToLauncher)) |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ ash::switches::kAshDisableDragAndDropAppListToLauncher)) |
Shell::GetInstance()->SetDragAndDropHostOfCurrentAppList(this); |
break; |
} |