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

Unified Diff: chrome/browser/ui/views/infobars/alternate_nav_infobar_view.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
« no previous file with comments | « chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc
diff --git a/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc b/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc
index dc42c91a224bf1027bb528612fee4dd1f9b7d559..35ca345179515add2c373fb1b4f5ac98791cfefe 100644
--- a/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc
@@ -86,5 +86,5 @@ void AlternateNavInfoBarView::LinkClicked(views::Link* source,
}
AlternateNavInfoBarDelegate* AlternateNavInfoBarView::GetDelegate() {
- return delegate()->AsAlternateNavInfoBarDelegate();
+ return static_cast<AlternateNavInfoBarDelegate*>(delegate());
}
« no previous file with comments | « chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698