Index: chrome/browser/extensions/api/storage/storage_api.cc |
diff --git a/chrome/browser/extensions/api/storage/storage_api.cc b/chrome/browser/extensions/api/storage/storage_api.cc |
index f78cb0c626856e898fb0e26926ea1c9d91f71462..d642dab4502c8713bb53aa24a974ee606f0d9dbc 100644 |
--- a/chrome/browser/extensions/api/storage/storage_api.cc |
+++ b/chrome/browser/extensions/api/storage/storage_api.cc |
@@ -47,7 +47,7 @@ bool SettingsFunction::RunImpl() { |
EXTENSION_FUNCTION_VALIDATE( |
settings_namespace_ != settings_namespace::INVALID); |
- SettingsFrontend* frontend = SettingsFrontend::Get(context()); |
+ SettingsFrontend* frontend = SettingsFrontend::Get(browser_context()); |
if (!frontend->IsStorageEnabled(settings_namespace_)) { |
error_ = base::StringPrintf( |
"\"%s\" is not available in this instance of Chrome", |