Index: chrome/browser/ui/webui/ntp/shown_sections_handler.cc |
diff --git a/chrome/browser/ui/webui/ntp/shown_sections_handler.cc b/chrome/browser/ui/webui/ntp/shown_sections_handler.cc |
index 56bfa72232bb9a945d704cc70eecf91243a09bb3..1301db9bb416e074346fb6cf4a80107fef1e8643 100644 |
--- a/chrome/browser/ui/webui/ntp/shown_sections_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/shown_sections_handler.cc |
@@ -73,7 +73,7 @@ void ShownSectionsHandler::Observe(int type, |
std::string* pref_name = Details<std::string>(details).ptr(); |
DCHECK(*pref_name == prefs::kNTPShownSections); |
int sections = pref_service_->GetInteger(prefs::kNTPShownSections); |
- base::FundamentalValue sections_value(sections); |
+ base::NumberValue sections_value(sections); |
web_ui_->CallJavascriptFunction("setShownSections", sections_value); |
} else { |
NOTREACHED(); |