Commit 18a711cf authored by thestig's avatar thestig Committed by Commit bot

Autocomplete: Fix a typo that flipped the extension keyword provider check for...

Autocomplete: Fix a typo that flipped the extension keyword provider check for enabling in incognito mode.

This is deliberately kept small for easy merging.

BUG=409705

Review URL: https://codereview.chromium.org/537283002

Cr-Commit-Position: refs/heads/master@{#293481}
parent 5078a919
...@@ -57,7 +57,7 @@ bool KeywordExtensionsDelegateImpl::IsEnabledExtension( ...@@ -57,7 +57,7 @@ bool KeywordExtensionsDelegateImpl::IsEnabledExtension(
extension_service->GetExtensionById(extension_id, false); extension_service->GetExtensionById(extension_id, false);
return extension && return extension &&
(!profile_->IsOffTheRecord() || (!profile_->IsOffTheRecord() ||
!extensions::util::IsIncognitoEnabled(extension_id, profile_)); extensions::util::IsIncognitoEnabled(extension_id, profile_));
} }
bool KeywordExtensionsDelegateImpl::Start( bool KeywordExtensionsDelegateImpl::Start(
......
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