Index: apps/shortcut_manager.cc |
diff --git a/apps/shortcut_manager.cc b/apps/shortcut_manager.cc |
index 5fafdb63b6361f5a8654a0eb3ed0dd3fc8aedeba..a3629d4a0855289a4ea6b0dd523b836de3ca6044 100644 |
--- a/apps/shortcut_manager.cc |
+++ b/apps/shortcut_manager.cc |
@@ -143,9 +143,9 @@ void ShortcutManager::OnceOffCreateShortcuts() { |
const ExtensionSet* apps = extension_service->extensions(); |
for (ExtensionSet::const_iterator it = apps->begin(); |
it != apps->end(); ++it) { |
- if (ShouldCreateShortcutFor(*it)) |
+ if (ShouldCreateShortcutFor(it->get())) |
web_app::UpdateShortcutInfoAndIconForApp( |
- *(*it), profile_, base::Bind(&CreateShortcutsInApplicationsMenu)); |
+ *it->get(), profile_, base::Bind(&CreateShortcutsInApplicationsMenu)); |
} |
} |