Index: content/shell/app/shell_main_delegate.cc |
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc |
index fa6993b0b2af52730262d6fc4b413bc7de681e02..1c9f074aaf16b55ab68ab2cf266a94acd7b5a11e 100644 |
--- a/content/shell/app/shell_main_delegate.cc |
+++ b/content/shell/app/shell_main_delegate.cc |
@@ -170,7 +170,8 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { |
command_line.AppendSwitch(switches::kSkipGpuDataLoading); |
command_line.AppendSwitchASCII(switches::kTouchEvents, |
switches::kTouchEventsEnabled); |
- command_line.AppendSwitchASCII(switches::kForceDeviceScaleFactor, "1.0"); |
+ if (!command_line.HasSwitch(switches::kForceDeviceScaleFactor)) |
+ command_line.AppendSwitchASCII(switches::kForceDeviceScaleFactor, "1.0"); |
command_line.AppendSwitch( |
switches::kDisableGestureRequirementForMediaPlayback); |