summaryrefslogtreecommitdiffstats
path: root/chrome/browser/alternate_nav_url_fetcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/alternate_nav_url_fetcher.cc')
-rw-r--r--chrome/browser/alternate_nav_url_fetcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/alternate_nav_url_fetcher.cc b/chrome/browser/alternate_nav_url_fetcher.cc
index dd21d10..fef750e 100644
--- a/chrome/browser/alternate_nav_url_fetcher.cc
+++ b/chrome/browser/alternate_nav_url_fetcher.cc
@@ -76,7 +76,7 @@ void AlternateNavURLFetcher::OnURLFetchComplete(const URLFetcher* source,
void AlternateNavURLFetcher::ShowInfobar() {
const NavigationEntry* const entry = controller_->GetActiveEntry();
DCHECK(entry);
- if (entry->GetType() != TAB_CONTENTS_WEB)
+ if (entry->tab_type() != TAB_CONTENTS_WEB)
return;
TabContents* tab_contents =
controller_->GetTabContents(TAB_CONTENTS_WEB);