Index: ash/ash_switches.cc |
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc |
index 66f4927d31c21185e9a525af4b86d58b8a925927..9709e240e4bb3e348e9b1fa2a6970ee7acbd551f 100644 |
--- a/ash/ash_switches.cc |
+++ b/ash/ash_switches.cc |
@@ -90,8 +90,8 @@ const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; |
// Enable the dock area on a desktop. |
const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; |
-// Enable dragging items off the shelf to unpin them. |
-const char kAshEnableDragOffShelf[] = "ash-enable-drag-off-shelf"; |
+// Disable dragging items off the shelf to unpin them. |
+const char kAshDisableDragOffShelf[] = "ash-disable-drag-off-shelf"; |
// Enable immersive fullscreen mode, regardless of default setting. |
const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; |
@@ -185,8 +185,8 @@ bool UseAlternateShelfLayout() { |
} |
bool UseDragOffShelf() { |
- return CommandLine::ForCurrentProcess()-> |
- HasSwitch(ash::switches::kAshEnableDragOffShelf); |
+ return !CommandLine::ForCurrentProcess()-> |
+ HasSwitch(ash::switches::kAshDisableDragOffShelf); |
} |
bool ShowShelfAlignmentMenu() { |