Index: chrome/browser/search_engines/template_url_service.cc |
diff --git a/chrome/browser/search_engines/template_url_service.cc b/chrome/browser/search_engines/template_url_service.cc |
index c23b18915b815a3561d6dc9ef29afe2faa38727d..8ed6eda7209c180d5257ff2e1848fad01d8fd53d 100644 |
--- a/chrome/browser/search_engines/template_url_service.cc |
+++ b/chrome/browser/search_engines/template_url_service.cc |
@@ -672,7 +672,7 @@ void TemplateURLService::OnWebDataServiceRequestDone( |
protector::ProtectorServiceFactory::GetForProfile(profile()); |
DCHECK(protector_service); |
protector_service->ShowChange(change.release()); |
- } else { |
+ } else if (service_.get()) { |
sky
2012/04/16 21:07:43
Remove this.
Ivan Korotkov
2012/04/17 09:54:10
Oops, removed.
|
// Protector is turned off: set the current default search to itself |
// to update the backup and sign it. Otherwise, change will be reported |
// every time when keywords are loaded until a search provider is added. |