Index: chrome/browser/ui/app_list/start_page_service.cc |
diff --git a/chrome/browser/ui/app_list/start_page_service.cc b/chrome/browser/ui/app_list/start_page_service.cc |
index 89298fe4988eb8a12e7094f3c3da32dec68097bb..dad29aadc5ba27e720a3a07e387a376911d918fd 100644 |
--- a/chrome/browser/ui/app_list/start_page_service.cc |
+++ b/chrome/browser/ui/app_list/start_page_service.cc |
@@ -408,7 +408,7 @@ void StartPageService::AppListShown() { |
} else if (contents_->IsCrashed()) { |
LoadStartPageURL(); |
} else if (contents_->GetWebUI()) { |
- contents_->GetWebUI()->CallJavascriptFunction( |
+ contents_->GetWebUI()->CallJavascriptFunctionUnsafe( |
"appList.startPage.onAppListShown"); |
} |
@@ -690,7 +690,7 @@ void StartPageService::OnURLFetchComplete(const net::URLFetcher* source) { |
recheck_delay = base::TimeDelta::FromMilliseconds(kMaximumRecheckDelayMs); |
if (contents_ && contents_->GetWebUI()) { |
- contents_->GetWebUI()->CallJavascriptFunction( |
+ contents_->GetWebUI()->CallJavascriptFunctionUnsafe( |
"appList.startPage.onAppListDoodleUpdated", *doodle_json, |
base::StringValue( |
UIThreadSearchTermsData(profile_).GoogleBaseURLValue())); |