| Index: chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| index a9812b4e0d2724d6d5d5ff909083a5121ba17172..49c251afa5c83846a53fdb71805f2fcede744cfa 100644
|
| --- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| +++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
| @@ -96,7 +96,8 @@ void NewTabUI::OnShowBookmarkBarChanged() {
|
| base::StringValue attached(
|
| GetProfile()->GetPrefs()->GetBoolean(bookmarks::prefs::kShowBookmarkBar) ?
|
| "true" : "false");
|
| - web_ui()->CallJavascriptFunction("ntp.setBookmarkBarAttached", attached);
|
| + web_ui()->CallJavascriptFunctionUnsafe("ntp.setBookmarkBarAttached",
|
| + attached);
|
| }
|
|
|
| // static
|
|
|