Index: chrome/browser/extensions/api/content_settings/content_settings_api.cc |
diff --git a/chrome/browser/extensions/api/content_settings/content_settings_api.cc b/chrome/browser/extensions/api/content_settings/content_settings_api.cc |
index e1c4a089b8fa13c089e6cbba7e85d0c72ee3eebe..5cb6179bef2a2ce54ec33156cd5beb826ab4d233 100644 |
--- a/chrome/browser/extensions/api/content_settings/content_settings_api.cc |
+++ b/chrome/browser/extensions/api/content_settings/content_settings_api.cc |
@@ -204,7 +204,7 @@ bool ContentSettingsSetFunction::RunImpl() { |
std::string setting_str; |
EXTENSION_FUNCTION_VALIDATE( |
- params->details.setting.value().GetAsString(&setting_str)); |
+ params->details.setting->GetAsString(&setting_str)); |
ContentSetting setting; |
EXTENSION_FUNCTION_VALIDATE( |
helpers::StringToContentSetting(setting_str, &setting)); |