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

Unified Diff: chrome/browser/cocoa/browser_window_cocoa.mm

Issue 969003: Make repost form warning tab-modal on Mac. (Closed)
Patch Set: Remove an unnecessary line. Created 10 years, 9 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/browser.cc ('k') | chrome/browser/cocoa/repost_form_warning_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/browser_window_cocoa.mm
diff --git a/chrome/browser/cocoa/browser_window_cocoa.mm b/chrome/browser/cocoa/browser_window_cocoa.mm
index 42a68c85a3cb0b9cd2f52c5e526c283d03daaf9d..752691a751e817062f7b1a48e9fc0fdcc44489a1 100644
--- a/chrome/browser/cocoa/browser_window_cocoa.mm
+++ b/chrome/browser/cocoa/browser_window_cocoa.mm
@@ -333,7 +333,7 @@ void BrowserWindowCocoa::ShowNewProfileDialog() {
void BrowserWindowCocoa::ShowRepostFormWarningDialog(
TabContents* tab_contents) {
- new RepostFormWarningMac(GetNativeHandle(), &tab_contents->controller());
+ new RepostFormWarningMac(GetNativeHandle(), tab_contents);
}
void BrowserWindowCocoa::ShowContentSettingsWindow(
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/cocoa/repost_form_warning_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698