summaryrefslogtreecommitdiffstats
path: root/chrome/browser/alternate_nav_url_fetcher.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 03:25:11 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 03:25:11 +0000
commit7f0005ab19ca4e374029180753c32e4c9813303a (patch)
treef36e756a90ff4324530789c89aef6a2e2f3573b5 /chrome/browser/alternate_nav_url_fetcher.cc
parentb237407befc41c3a19c7519523b102808213b49b (diff)
downloadchromium_src-7f0005ab19ca4e374029180753c32e4c9813303a.zip
chromium_src-7f0005ab19ca4e374029180753c32e4c9813303a.tar.gz
chromium_src-7f0005ab19ca4e374029180753c32e4c9813303a.tar.bz2
Remove TabContentsType from the NavigationController external interface and in
some related areas. I removed all uses of this in the previous patch. Review URL: http://codereview.chromium.org/73057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/alternate_nav_url_fetcher.cc')
-rw-r--r--chrome/browser/alternate_nav_url_fetcher.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/alternate_nav_url_fetcher.cc b/chrome/browser/alternate_nav_url_fetcher.cc
index 66f824e..7e7f24e 100644
--- a/chrome/browser/alternate_nav_url_fetcher.cc
+++ b/chrome/browser/alternate_nav_url_fetcher.cc
@@ -30,7 +30,7 @@ void AlternateNavURLFetcher::Observe(NotificationType type,
switch (type.value) {
case NotificationType::NAV_ENTRY_PENDING:
controller_ = Source<NavigationController>(source).ptr();
- DCHECK(controller_->GetPendingEntry());
+ DCHECK(controller_->pending_entry());
// Unregister for this notification now that we're pending, and start
// listening for the corresponding commit. We also need to listen for the
@@ -118,7 +118,7 @@ void AlternateNavURLFetcher::ShowInfobarIfPossible() {
if (!navigated_to_entry_ || state_ != SUCCEEDED)
return;
- infobar_contents_ = controller_->active_contents();
+ infobar_contents_ = controller_->tab_contents();
StoreActiveEntryUniqueID(infobar_contents_);
// We will be deleted when the InfoBar is destroyed. (See InfoBarClosed).
infobar_contents_->AddInfoBar(this);