Index: chrome/browser/ui/toolbar/action_box_button_controller.cc |
diff --git a/chrome/browser/ui/toolbar/action_box_button_controller.cc b/chrome/browser/ui/toolbar/action_box_button_controller.cc |
index 98bd29ca2ae602de8810dc5a7749f01c76340e32..351d3a6cb7938b4be9724eb30fcc35caef9ecf96 100644 |
--- a/chrome/browser/ui/toolbar/action_box_button_controller.cc |
+++ b/chrome/browser/ui/toolbar/action_box_button_controller.cc |
@@ -87,7 +87,7 @@ scoped_ptr<ActionBoxMenuModel> ActionBoxButtonController::CreateMenuModel() { |
const ExtensionSet* extensions = extension_service->extensions(); |
for (ExtensionSet::const_iterator it = extensions->begin(); |
it != extensions->end(); ++it) { |
- const extensions::Extension* extension = *it; |
+ const extensions::Extension* extension = it->get(); |
if (ActionInfo::GetPageLauncherInfo(extension)) { |
int command_id = GetCommandIdForExtension(*extension); |
menu_model->AddExtension(*extension, command_id); |