| Index: chrome/browser/ui/webui/local_state/local_state_ui.cc
|
| diff --git a/chrome/browser/ui/webui/local_state/local_state_ui.cc b/chrome/browser/ui/webui/local_state/local_state_ui.cc
|
| index bc7fb7e117b55f132d94d6caae24eec93dab6b73..f1470db73975ecdb143662770571a2fc1f8c0d77 100644
|
| --- a/chrome/browser/ui/webui/local_state/local_state_ui.cc
|
| +++ b/chrome/browser/ui/webui/local_state/local_state_ui.cc
|
| @@ -74,8 +74,8 @@ void LocalStateUIHandler::HandleRequestJson(const base::ListValue* args) {
|
| if (!result)
|
| json = "Error loading Local State file.";
|
|
|
| - web_ui()->CallJavascriptFunction("localState.setLocalState",
|
| - base::StringValue(json));
|
| + web_ui()->CallJavascriptFunctionUnsafe("localState.setLocalState",
|
| + base::StringValue(json));
|
| }
|
|
|
| // Returns true if |pref_name| starts with one of the |valid_prefixes|.
|
|
|