| Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm (revision 113069)
|
| +++ chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm (working copy)
|
| @@ -540,12 +540,10 @@
|
| if (!service)
|
| return;
|
|
|
| - // Find all the page actions.
|
| std::vector<ExtensionAction*> page_actions;
|
| - for (ExtensionSet::const_iterator it = service->extensions()->begin();
|
| - it != service->extensions()->end(); ++it) {
|
| - if ((*it)->page_action())
|
| - page_actions.push_back((*it)->page_action());
|
| + for (size_t i = 0; i < service->extensions()->size(); ++i) {
|
| + if (service->extensions()->at(i)->page_action())
|
| + page_actions.push_back(service->extensions()->at(i)->page_action());
|
| }
|
|
|
| // On startup we sometimes haven't loaded any extensions. This makes sure
|
|
|
| Property changes on: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| ___________________________________________________________________
|
| Added: svn:mergeinfo
|
|
|
|
|