| Index: chrome/browser/ui/browser_list.cc
|
| diff --git a/chrome/browser/ui/browser_list.cc b/chrome/browser/ui/browser_list.cc
|
| index abdb13545e79fcff717a24a66de6b84e969bf3c6..9aabeab45a970edd4ede02f7b04f49944c69ff14 100644
|
| --- a/chrome/browser/ui/browser_list.cc
|
| +++ b/chrome/browser/ui/browser_list.cc
|
| @@ -85,7 +85,7 @@ class BrowserActivityObserver : public content::NotificationObserver {
|
| }
|
|
|
| // Counts the number of tabs in each browser window and logs them. This is
|
| - // different than the number of TabContents objects since TabContents objects
|
| + // different than the number of WebContents objects since WebContents objects
|
| // can be used for popups and in dialog boxes. We're just counting toplevel
|
| // tabs here.
|
| void LogBrowserTabCount() const {
|
| @@ -855,12 +855,12 @@ TabContentsIterator::TabContentsIterator()
|
| }
|
|
|
| void TabContentsIterator::Advance() {
|
| - // The current TabContents should be valid unless we are at the beginning.
|
| + // The current WebContents should be valid unless we are at the beginning.
|
| DCHECK(cur_ || (web_view_index_ == -1 &&
|
| browser_iterator_ == BrowserList::begin()))
|
| << "Trying to advance past the end";
|
|
|
| - // Update cur_ to the next TabContents in the list.
|
| + // Update cur_ to the next WebContents in the list.
|
| while (browser_iterator_ != BrowserList::end()) {
|
| if (++web_view_index_ >= (*browser_iterator_)->tab_count()) {
|
| // Advance to the next Browser in the list.
|
| @@ -876,13 +876,13 @@ void TabContentsIterator::Advance() {
|
| return;
|
| }
|
| }
|
| - // If no more TabContents from Browsers, check the BackgroundPrintingManager.
|
| + // If no more WebContents from Browsers, check the BackgroundPrintingManager.
|
| while (bg_printing_iterator_ != GetBackgroundPrintingManager()->end()) {
|
| cur_ = *bg_printing_iterator_;
|
| CHECK(cur_);
|
| ++bg_printing_iterator_;
|
| return;
|
| }
|
| - // Reached the end - no more TabContents.
|
| + // Reached the end - no more WebContents.
|
| cur_ = NULL;
|
| }
|
|
|