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 c5db07c2156a65f745b4c25411525b3920d9613a..aa82c60580ebe23c6646a96c15681f8bbd4c8916 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
@@ -89,9 +89,10 @@ NewTabUI::NewTabUI(content::WebUI* web_ui) |
NewTabUI::~NewTabUI() {} |
void NewTabUI::OnShowBookmarkBarChanged() { |
- base::StringValue attached( |
- GetProfile()->GetPrefs()->GetBoolean(bookmarks::prefs::kShowBookmarkBar) ? |
- "true" : "false"); |
+ base::Value attached( |
+ GetProfile()->GetPrefs()->GetBoolean(bookmarks::prefs::kShowBookmarkBar) |
+ ? "true" |
+ : "false"); |
web_ui()->CallJavascriptFunctionUnsafe("ntp.setBookmarkBarAttached", |
attached); |
} |