Index: chrome/browser/chromeos/boot_times_loader.cc |
=================================================================== |
--- chrome/browser/chromeos/boot_times_loader.cc (revision 145001) |
+++ chrome/browser/chromeos/boot_times_loader.cc (working copy) |
@@ -24,6 +24,7 @@ |
#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_tabstrip.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/chrome_switches.h" |
#include "content/public/browser/browser_thread.h" |
@@ -58,7 +59,7 @@ |
++it) { |
Browser* browser = *it; |
for (int i = 0, tab_count = browser->tab_count(); i < tab_count; ++i) { |
- WebContents* tab = browser->GetWebContentsAt(i); |
+ WebContents* tab = chrome::GetWebContentsAt(browser, i); |
if (tab->GetRenderWidgetHostView() == rwhv) { |
return tab->GetURL().spec(); |
} |