| 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 ae162b625f074fa71f7a6b860f21e89decdfb9b9..5d22c748b45c65d8c1b209060c882a298068f481 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
|
|
|