Index: chrome/browser/ui/views/toolbar/browser_actions_container.cc |
diff --git a/chrome/browser/ui/views/toolbar/browser_actions_container.cc b/chrome/browser/ui/views/toolbar/browser_actions_container.cc |
index 032862a6ec7fd861f4a607414ed853dce5b947a9..de56b314e6f5e4aca438bb327c779027f8e71065 100644 |
--- a/chrome/browser/ui/views/toolbar/browser_actions_container.cc |
+++ b/chrome/browser/ui/views/toolbar/browser_actions_container.cc |
@@ -1090,7 +1090,7 @@ size_t BrowserActionsContainer::GetIconCount() const { |
const extensions::ExtensionList& extensions = model_->toolbar_items(); |
for (extensions::ExtensionList::const_iterator iter = extensions.begin(); |
iter != extensions.end(); ++iter) { |
- displayable_icon_count += ShouldDisplayBrowserAction(*iter) ? 1u : 0u; |
+ displayable_icon_count += ShouldDisplayBrowserAction(iter->get()) ? 1u : 0u; |
} |
// Find the absolute value for the model's visible count. |
int model_size = model_->GetVisibleIconCount(); |