Index: chrome/browser/ui/webui/settings/profile_info_handler.cc |
diff --git a/chrome/browser/ui/webui/settings/profile_info_handler.cc b/chrome/browser/ui/webui/settings/profile_info_handler.cc |
index 4ce53d7c5d77f6fea4e555f9519bf2d89cf6eb7a..48bfbed68c44ac7f0ba73766821c01785ed372a2 100644 |
--- a/chrome/browser/ui/webui/settings/profile_info_handler.cc |
+++ b/chrome/browser/ui/webui/settings/profile_info_handler.cc |
@@ -126,6 +126,8 @@ void ProfileInfoHandler::HandleGetProfileInfo(const base::ListValue* args) { |
#if !defined(OS_CHROMEOS) |
void ProfileInfoHandler::HandleGetProfileStats(const base::ListValue* args) { |
+ AllowJavascript(); |
+ |
// Because there is open browser window for the current profile, statistics |
// from the ProfileAttributesStorage may not be up-to-date or may be missing |
// (e.g., |item.success| is false). Therefore, query the actual statistics. |