Index: chrome/browser/chromeos/boot_times_loader.cc |
diff --git a/chrome/browser/chromeos/boot_times_loader.cc b/chrome/browser/chromeos/boot_times_loader.cc |
index 8e522d4868a9312041595fd0245f6681195394f3..e39005ed1427ea181ce40993404ac9b52a527f23 100644 |
--- a/chrome/browser/chromeos/boot_times_loader.cc |
+++ b/chrome/browser/chromeos/boot_times_loader.cc |
@@ -25,7 +25,7 @@ |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/chromeos/login/authentication_notification_details.h" |
#include "chrome/browser/ui/browser.h" |
-#include "chrome/browser/ui/browser_list.h" |
+#include "chrome/browser/ui/browser_iterator.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/chrome_switches.h" |
@@ -56,9 +56,7 @@ RenderWidgetHost* GetRenderWidgetHost(NavigationController* tab) { |
const std::string GetTabUrl(RenderWidgetHost* rwh) { |
RenderWidgetHostView* rwhv = rwh->GetView(); |
- for (BrowserList::const_iterator it = BrowserList::begin(); |
- it != BrowserList::end(); |
- ++it) { |
+ for (chrome::BrowserIterator it; !it.done(); it.Next()) { |
Browser* browser = *it; |
for (int i = 0, tab_count = browser->tab_strip_model()->count(); |
i < tab_count; |