Index: chrome/browser/ui/webui/extensions/extension_settings_handler.cc |
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc |
index 7678bd6bd9f13e1916ad58b013ea8b23572b8a9e..b2fab16a4c1b20c906242e43f0470a3ea57cc52a 100644 |
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc |
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc |
@@ -829,7 +829,7 @@ void ExtensionSettingsHandler::HandleRequestExtensionsData( |
const ExtensionSet& enabled_set = registry->enabled_extensions(); |
for (ExtensionSet::const_iterator extension = enabled_set.begin(); |
extension != enabled_set.end(); ++extension) { |
- if (ui_util::ShouldDisplayInExtensionSettings(*extension, profile)) { |
+ if (ui_util::ShouldDisplayInExtensionSettings(extension->get(), profile)) { |
extensions_list->Append(CreateExtensionDetailValue( |
extension->get(), |
GetInspectablePagesForExtension(extension->get(), true), |
@@ -839,7 +839,7 @@ void ExtensionSettingsHandler::HandleRequestExtensionsData( |
const ExtensionSet& disabled_set = registry->disabled_extensions(); |
for (ExtensionSet::const_iterator extension = disabled_set.begin(); |
extension != disabled_set.end(); ++extension) { |
- if (ui_util::ShouldDisplayInExtensionSettings(*extension, profile)) { |
+ if (ui_util::ShouldDisplayInExtensionSettings(extension->get(), profile)) { |
extensions_list->Append(CreateExtensionDetailValue( |
extension->get(), |
GetInspectablePagesForExtension(extension->get(), false), |
@@ -850,7 +850,7 @@ void ExtensionSettingsHandler::HandleRequestExtensionsData( |
std::vector<ExtensionPage> empty_pages; |
for (ExtensionSet::const_iterator extension = terminated_set.begin(); |
extension != terminated_set.end(); ++extension) { |
- if (ui_util::ShouldDisplayInExtensionSettings(*extension, profile)) { |
+ if (ui_util::ShouldDisplayInExtensionSettings(extension->get(), profile)) { |
extensions_list->Append(CreateExtensionDetailValue( |
extension->get(), |
empty_pages, // Terminated process has no active pages. |