Index: chrome/browser/ui/app_list/search/common/webservice_search_provider.cc |
diff --git a/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc b/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc |
index 32e64c17af6ea1ec57f62b1e6dab0b52e286b0e9..833ed434a49574d0f41fd3ddcf01505ca6d303b1 100644 |
--- a/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc |
+++ b/chrome/browser/ui/app_list/search/common/webservice_search_provider.cc |
@@ -47,9 +47,8 @@ void WebserviceSearchProvider::StartThrottledQuery( |
bool WebserviceSearchProvider::IsValidQuery(const base::string16& query) { |
// If |query| contains sensitive data, bail out and do not create the place |
// holder "search-web-store" result. |
- if (IsSensitiveInput(query) || |
- (query.size() < kMinimumQueryLength) || |
- !chrome::IsSuggestPrefEnabled(profile_)) { |
+ if (IsSensitiveInput(query) || (query.size() < kMinimumQueryLength) || |
+ !search::IsSuggestPrefEnabled(profile_)) { |
return false; |
} |