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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_iterator.cc

Issue 10702029: Move tab functions off Browser into browser_tabstrip and browser_tabrestore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/ui/tab_contents/tab_contents_iterator.cc
===================================================================
--- chrome/browser/ui/tab_contents/tab_contents_iterator.cc (revision 145001)
+++ chrome/browser/ui/tab_contents/tab_contents_iterator.cc (working copy)
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_tabstrip.h"
#include "chrome/browser/printing/background_printing_manager.h"
namespace {
@@ -41,7 +42,7 @@
}
TabContents* next_tab =
- (*browser_iterator_)->GetTabContentsAt(web_view_index_);
+ chrome::GetTabContentsAt(*browser_iterator_, web_view_index_);
if (next_tab) {
cur_ = next_tab;
return;

Powered by Google App Engine
This is Rietveld 408576698