Index: chrome/browser/ui/webui/options2/content_settings_handler2.cc |
diff --git a/chrome/browser/ui/webui/options2/content_settings_handler2.cc b/chrome/browser/ui/webui/options2/content_settings_handler2.cc |
index 1492385175df56babdcc4cb15a15079664ef298d..7498f62bd2459d08bb742079dc0ec2c05759ee23 100644 |
--- a/chrome/browser/ui/webui/options2/content_settings_handler2.cc |
+++ b/chrome/browser/ui/webui/options2/content_settings_handler2.cc |
@@ -302,8 +302,9 @@ void ContentSettingsHandler::GetLocalizedValues( |
RegisterTitle(localized_strings, "mouselock", |
IDS_MOUSE_LOCK_TAB_LABEL); |
+ Profile* profile = Profile::FromWebUI(web_ui()); |
localized_strings->SetBoolean("enable_web_intents", |
- web_intents::IsWebIntentsEnabled()); |
+ web_intents::IsWebIntentsEnabled(profile)); |
// TODO(marja): clean up the options UI after the decision on the session |
// restore changes has stabilized. |
localized_strings->SetBoolean( |