Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1829)

Unified Diff: chrome/browser/chromeos/boot_times_loader.cc

Issue 9085006: Replace Browser::GetTabContentsAt with GetWebContentsAt and update all callers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac yet again Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/boot_times_loader.cc
===================================================================
--- chrome/browser/chromeos/boot_times_loader.cc (revision 116244)
+++ chrome/browser/chromeos/boot_times_loader.cc (working copy)
@@ -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 @@
++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();
}
« no previous file with comments | « chrome/browser/browser_keyevents_browsertest.cc ('k') | chrome/browser/chromeos/tab_closeable_state_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698