| Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| index 79b539609c19ea787a647d6b3710e636b88b39dd..d2194c41007baba949f364eea418246c1a5d1873 100644
|
| --- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| @@ -643,9 +643,10 @@ void LocationBarViewGtk::UpdatePageActions() {
|
| return;
|
|
|
| // Find all the page actions.
|
| - 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());
|
| + for (ExtensionSet::const_iterator it = service->extensions()->begin();
|
| + it != service->extensions()->end(); ++it) {
|
| + if ((*it)->page_action())
|
| + page_actions.push_back((*it)->page_action());
|
| }
|
|
|
| // Initialize on the first call, or re-inialize if more extensions have been
|
|
|