Index: chrome/browser/infobars/infobar_service.h |
diff --git a/chrome/browser/infobars/infobar_service.h b/chrome/browser/infobars/infobar_service.h |
index 7a07de00062eac2d08f037c85260ae94fc8b4988..d502b58f1905d6ec36c0ee065a2e00325954876a 100644 |
--- a/chrome/browser/infobars/infobar_service.h |
+++ b/chrome/browser/infobars/infobar_service.h |
@@ -37,11 +37,6 @@ class InfoBarService : public infobars::InfoBarManager, |
static content::WebContents* WebContentsFromInfoBar( |
infobars::InfoBar* infobar); |
- // Retrieve the WebContents for the tab this service is associated with. |
- content::WebContents* web_contents() { |
- return content::WebContentsObserver::web_contents(); |
- } |
- |
private: |
friend class content::WebContentsUserData<InfoBarService>; |