diff options
Diffstat (limited to 'chrome/browser/chromeos/boot_times_loader.cc')
-rw-r--r-- | chrome/browser/chromeos/boot_times_loader.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/boot_times_loader.cc b/chrome/browser/chromeos/boot_times_loader.cc index 37f7e54..32aeaaf 100644 --- a/chrome/browser/chromeos/boot_times_loader.cc +++ b/chrome/browser/chromeos/boot_times_loader.cc @@ -27,10 +27,10 @@ #include "chrome/common/chrome_notification_types.h" #include "chrome/common/chrome_switches.h" #include "content/browser/renderer_host/render_widget_host_view.h" -#include "content/browser/tab_contents/tab_contents.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/navigation_controller.h" #include "content/public/browser/notification_service.h" +#include "content/public/browser/web_contents.h" using content::BrowserThread; using content::WebContents; @@ -55,7 +55,7 @@ const std::string GetTabUrl(RenderWidgetHost* rwh) { ++it) { Browser* browser = *it; for (int i = 0, tab_count = browser->tab_count(); i < tab_count; ++i) { - TabContents* tab = browser->GetTabContentsAt(i); + WebContents* tab = browser->GetWebContentsAt(i); if (tab->GetRenderWidgetHostView() == rwhv) { return tab->GetURL().spec(); } |