Index: components/search_engines/template_url_service.cc |
diff --git a/components/search_engines/template_url_service.cc b/components/search_engines/template_url_service.cc |
index d935153ad4ed5235b30710c9f82e9e2dd401d133..0165af4751fb76a51c25e235d22d94359a66cd7e 100644 |
--- a/components/search_engines/template_url_service.cc |
+++ b/components/search_engines/template_url_service.cc |
@@ -955,6 +955,8 @@ void TemplateURLService::OnHistoryURLVisited(const URLVisitedDetails& details) { |
} |
void TemplateURLService::Shutdown() { |
+ if (client_) |
+ client_->Shutdown(); |
// This check has to be done at Shutdown() instead of in the dtor to ensure |
// that no clients of KeywordWebDataService are holding ptrs to it after the |
// first phase of the KeyedService Shutdown() process. |