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

Unified Diff: chrome/browser/ui/panels/panel_browser_window_cocoa.mm

Issue 9085006: Replace Browser::GetTabContentsAt with GetWebContentsAt and update all callers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac yet again Created 8 years, 12 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/panels/panel_browser_window_cocoa.mm
===================================================================
--- chrome/browser/ui/panels/panel_browser_window_cocoa.mm (revision 116244)
+++ chrome/browser/ui/panels/panel_browser_window_cocoa.mm (working copy)
@@ -305,12 +305,12 @@
void PanelBrowserWindowCocoa::TabInsertedAt(TabContentsWrapper* contents,
int index,
bool foreground) {
- [controller_ tabInserted:contents->tab_contents()];
+ [controller_ tabInserted:contents->web_contents()];
}
void PanelBrowserWindowCocoa::TabDetachedAt(TabContentsWrapper* contents,
int index) {
- [controller_ tabDetached:contents->tab_contents()];
+ [controller_ tabDetached:contents->web_contents()];
}
// NativePanelTesting implementation.
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc ('k') | chrome/browser/ui/panels/panel_window_controller_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698