Index: chrome/browser/infobars/infobar_delegate.h |
diff --git a/chrome/browser/infobars/infobar_delegate.h b/chrome/browser/infobars/infobar_delegate.h |
index 48b4e27694b47f167419934d10f33ecb11e7f042..3411967c26ad6aeecf8b99a28631a03df02f6174 100644 |
--- a/chrome/browser/infobars/infobar_delegate.h |
+++ b/chrome/browser/infobars/infobar_delegate.h |
@@ -22,10 +22,6 @@ class ThemeInstalledInfoBarDelegate; |
class ThreeDAPIInfoBarDelegate; |
class TranslateInfoBarDelegate; |
-namespace content { |
-class WebContents; |
-} |
- |
namespace gfx { |
class Image; |
} |
@@ -125,12 +121,6 @@ class InfoBarDelegate { |
// empty, no icon is shown. |
virtual gfx::Image GetIcon() const; |
- // This trivial getter is defined out-of-line in order to avoid needing to |
- // #include infobar.h, which would lead to circular #includes. |
- // TODO(droger): Remove this function and have callers use |
- // InfoBarService::WebContentsFromInfoBar() instead. |
- content::WebContents* web_contents(); |
- |
protected: |
InfoBarDelegate(); |