summaryrefslogtreecommitdiffstats
path: root/chrome/browser/infobars/infobar_tab_helper.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-25 21:37:09 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-25 21:37:09 +0000
commitea049a01f82647dc12e4001c8be03e4124faaff3 (patch)
tree0bb59450d13be2f37e404cfd2374ea27fba7461f /chrome/browser/infobars/infobar_tab_helper.h
parent5ca3ddf71cb1db27e206c4d048770ad21e5688c9 (diff)
downloadchromium_src-ea049a01f82647dc12e4001c8be03e4124faaff3.zip
chromium_src-ea049a01f82647dc12e4001c8be03e4124faaff3.tar.gz
chromium_src-ea049a01f82647dc12e4001c8be03e4124faaff3.tar.bz2
Convert a bunch of WebContentsObservers to use web_contents() instead of tab_contents(), as well as all the dependent code.
BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/8982008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/infobars/infobar_tab_helper.h')
-rw-r--r--chrome/browser/infobars/infobar_tab_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/infobars/infobar_tab_helper.h b/chrome/browser/infobars/infobar_tab_helper.h
index 133a341..f4e78f1 100644
--- a/chrome/browser/infobars/infobar_tab_helper.h
+++ b/chrome/browser/infobars/infobar_tab_helper.h
@@ -58,8 +58,8 @@ class InfoBarTabHelper : public content::WebContentsObserver,
const content::NotificationDetails& details) OVERRIDE;
// Helper functions for infobars:
- TabContents* tab_contents() {
- return content::WebContentsObserver::tab_contents();
+ content::WebContents* web_contents() {
+ return content::WebContentsObserver::web_contents();
}
private: