Commit a89b5ee5 authored by avayvod@chromium.org's avatar avayvod@chromium.org

Allow NULL default search provider to be passed to Protector

R=ivankr@chromium.org
BUG=94447
TEST=Manually

Review URL: http://codereview.chromium.org/8695001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111536 0039d316-1c4b-4281-b951-d872f2087c98
parent 794d5bd7
......@@ -537,8 +537,7 @@ void TemplateURLService::OnWebDataServiceRequestDone(
*result,
template_urls,
&backup_default_search_provider) &&
!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoProtector) &&
default_search_provider) {
!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoProtector)) {
// TODO: need to handle no default_search_provider better. Likely need to
// make sure the default search engine is there, and if not assume it was
// deleted and add it back.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment