Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2178)

Unified Diff: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc

Issue 12017031: infobars: Remove the downcast AsAlternateNavInfoBarDelegate() function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc
diff --git a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc
index e96d77d6a469ab76b1ac61d9085413612743dd25..0c19470d1d4517b9ed126d15f212cff1ffeac17e 100644
--- a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc
+++ b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc
@@ -56,11 +56,6 @@ bool AlternateNavInfoBarDelegate::LinkClicked(
return true;
}
-AlternateNavInfoBarDelegate*
- AlternateNavInfoBarDelegate::AsAlternateNavInfoBarDelegate() {
- return this;
-}
-
gfx::Image* AlternateNavInfoBarDelegate::GetIcon() const {
return &ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed(
IDR_INFOBAR_ALT_NAV_URL);

Powered by Google App Engine
This is Rietveld 408576698