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

Unified Diff: chrome/browser/dom_ui/html_dialog_tab_contents_delegate.cc

Issue 2819086: Removal of TabContentsDelegate::GetBrowser() interface method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « chrome/browser/dom_ui/history_ui.cc ('k') | chrome/browser/dom_ui/mediaplayer_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/html_dialog_tab_contents_delegate.cc
===================================================================
--- chrome/browser/dom_ui/html_dialog_tab_contents_delegate.cc (revision 55729)
+++ chrome/browser/dom_ui/html_dialog_tab_contents_delegate.cc (working copy)
@@ -43,7 +43,7 @@
TabContents* new_contents =
browser->AddTabWithURL(url, referrer, transition, -1,
TabStripModel::ADD_SELECTED, NULL,
- std::string());
+ std::string(), &browser);
DCHECK(new_contents);
browser->window()->Show();
new_contents->Focus();
« no previous file with comments | « chrome/browser/dom_ui/history_ui.cc ('k') | chrome/browser/dom_ui/mediaplayer_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698