| Index: chrome/browser/ui/webui/options/browser_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| index 2ce680435fbf7aca2e7874abe1d0db6ab6bed847..549bdaa175f3acdbea6cf1e034fc60fff5e73fad 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -1781,9 +1781,9 @@ void BrowserOptionsHandler::HandleRequestHotwordAvailable(
|
| return;
|
| }
|
|
|
| - std::string group = base::FieldTrialList::FindFullName("VoiceTrigger");
|
| - if (!group.empty() && group != "Disabled" &&
|
| - HotwordServiceFactory::IsHotwordAllowed(profile)) {
|
| + // Don't need to check the field trial here since |IsHotwordAllowed| also
|
| + // checks it.
|
| + if (HotwordServiceFactory::IsHotwordAllowed(profile)) {
|
| // Update the current error value.
|
| HotwordServiceFactory::IsServiceAvailable(profile);
|
| int error = HotwordServiceFactory::GetCurrentError(profile);
|
|
|