Index: chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc |
index 15030d3e0a1ba165f45d29edc0d69cf70a564da1..f38f65e008fd3d2244ab70f7867c56b12dd5ab12 100644 |
--- a/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc |
@@ -262,9 +262,8 @@ void CoreChromeOSOptionsHandler::SetPref(const std::string& pref_name, |
proxy_cros_settings_parser::SetProxyPrefValue( |
pref_name, value, &proxy_config_service_); |
base::StringValue proxy_type(pref_name); |
- web_ui()->CallJavascriptFunction( |
- "options.internet.DetailsInternetPage.updateProxySettings", |
- proxy_type); |
+ web_ui()->CallJavascriptFunctionUnsafe( |
+ "options.internet.DetailsInternetPage.updateProxySettings", proxy_type); |
ProcessUserMetric(value, metric); |
return; |
} |