Index: chrome/browser/ui/webui/options/browser_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc |
index 72b1c38a0d112c11e146178148ca5053acc781d3..d00be98ca9112547d7bfecc81ee1d8a1ecd39141 100644 |
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
@@ -681,11 +681,11 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) { |
"showWakeOnWifi", |
chromeos::WakeOnWifiManager::Get()->WakeOnWifiSupported() && |
chromeos::switches::WakeOnWifiEnabled()); |
- const bool have_enable_time_zone_tracking_option_switch = |
+ const bool have_disable_time_zone_tracking_option_switch = |
base::CommandLine::ForCurrentProcess()->HasSwitch( |
- chromeos::switches::kEnableTimeZoneTrackingOption); |
+ chromeos::switches::kDisableTimeZoneTrackingOption); |
values->SetBoolean("enableTimeZoneTrackingOption", |
- have_enable_time_zone_tracking_option_switch && |
+ !have_disable_time_zone_tracking_option_switch && |
!chromeos::system::HasSystemTimezonePolicy()); |
#endif |
} |