Index: content/common/content_switches_internal.cc |
diff --git a/content/common/content_switches_internal.cc b/content/common/content_switches_internal.cc |
index f496c504f5986d43d23cb300353bbd900dcd19f2..27f63c253c35b53d07a0cdd7436a197e815b923f 100644 |
--- a/content/common/content_switches_internal.cc |
+++ b/content/common/content_switches_internal.cc |
@@ -84,8 +84,11 @@ V8CacheOptions GetV8CacheOptions() { |
} |
bool IsUseZoomForDSFEnabled() { |
- static bool enabled = base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableUseZoomForDSF); |
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
+ bool enabled = command_line->HasSwitch(switches::kEnableUseZoomForDSF) && |
+ command_line->GetSwitchValueASCII( |
+ switches::kEnableUseZoomForDSF) != "false"; |
+ |
return enabled; |
} |