| Index: chrome/browser/ui/webui/options2/browser_options_handler2.cc
|
| diff --git a/chrome/browser/ui/webui/options2/browser_options_handler2.cc b/chrome/browser/ui/webui/options2/browser_options_handler2.cc
|
| index 8c7ba968c65cef72534fd821e91aab843847fb4d..2594805893f5b8985d68e8390aeba0b4a44d7a06 100644
|
| --- a/chrome/browser/ui/webui/options2/browser_options_handler2.cc
|
| +++ b/chrome/browser/ui/webui/options2/browser_options_handler2.cc
|
| @@ -901,8 +901,8 @@ void BrowserOptionsHandler::ToggleAutoLaunch(const ListValue* args) {
|
| void BrowserOptionsHandler::GetInstantFieldTrialStatus(const ListValue* args) {
|
| Profile* profile = Profile::FromWebUI(web_ui());
|
| base::FundamentalValue enabled(
|
| - InstantFieldTrial::IsInstantExperiment(profile) &&
|
| - !InstantFieldTrial::IsHiddenExperiment(profile));
|
| + !profile->GetPrefs()->GetBoolean(prefs::kInstantEnabled) &&
|
| + InstantFieldTrial::GetMode(profile) == InstantFieldTrial::INSTANT);
|
| web_ui()->CallJavascriptFunction("BrowserOptions.setInstantFieldTrialStatus",
|
| enabled);
|
| }
|
|
|