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 24f7bcff744d87f74667d4fe11a5a89e56945ca9..b10bcf1f0be8738d97a6718c8c30c841a7af9c30 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; |