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

Unified Diff: chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm

Issue 230453004: Remove InfoBarDelegate::web_contents() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile Created 6 years, 8 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/cocoa/infobars/extension_infobar_controller.mm
diff --git a/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm b/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm
index f2126d6b44e659929ec375e3bb3618e104dbc851..c1f15c51c1b074edd1834d2228796cfbd5411a07 100644
--- a/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm
+++ b/chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm
@@ -246,7 +246,7 @@ class InfobarBridge {
extensions::ExtensionViewHost* extensionViewHost =
[self delegate]->AsExtensionInfoBarDelegate()->extension_view_host();
Browser* browser = chrome::FindBrowserWithWebContents(
- [self delegate]->AsExtensionInfoBarDelegate()->web_contents());
+ [self delegate]->AsExtensionInfoBarDelegate()->GetWebContents());
contextMenuController_.reset([[ExtensionActionContextMenuController alloc]
initWithExtension:extensionViewHost->extension()
browser:browser
« no previous file with comments | « chrome/browser/ui/auto_login_infobar_delegate.cc ('k') | chrome/browser/ui/collected_cookies_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698