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

Unified Diff: chrome/browser/ui/views/infobars/link_infobar.cc

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments, merge to LKGR Created 8 years, 4 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/views/infobars/link_infobar.cc
diff --git a/chrome/browser/ui/views/infobars/link_infobar.cc b/chrome/browser/ui/views/infobars/link_infobar.cc
index 49a65f41b2776093657a00131a1801df3f9ae69a..855df605b34878581afb651c25c0bdc8d7b21291 100644
--- a/chrome/browser/ui/views/infobars/link_infobar.cc
+++ b/chrome/browser/ui/views/infobars/link_infobar.cc
@@ -7,13 +7,14 @@
#include "base/logging.h"
#include "chrome/browser/api/infobars/link_infobar_delegate.h"
#include "chrome/browser/event_disposition.h"
+#include "chrome/browser/infobars/infobar_tab_helper.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/link.h"
// LinkInfoBarDelegate --------------------------------------------------------
-InfoBar* LinkInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) {
- return new LinkInfoBar(owner, this);
+InfoBar* LinkInfoBarDelegate::CreateInfoBar(InfoBarTabService* owner) {
+ return new LinkInfoBar(static_cast<InfoBarTabHelper*>(owner), this);
}
// LinkInfoBar ----------------------------------------------------------------
« no previous file with comments | « chrome/browser/ui/views/infobars/extension_infobar.cc ('k') | chrome/browser/ui/views/infobars/media_stream_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698