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

Unified Diff: chrome/browser/gtk/browser_window_gtk.cc

Issue 660434: Make repost form warning tab-modal on Gtk. (Closed)
Patch Set: Fixed a small bug when two tabmodal dialogs were shown. 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 | « no previous file | chrome/browser/gtk/repost_form_warning_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_window_gtk.cc
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc
index e2f3ec60178badd4512df52e053ab2707a395ab2..bbcf192dd387dfc85983c01f306375484fa0d4d1 100644
--- a/chrome/browser/gtk/browser_window_gtk.cc
+++ b/chrome/browser/gtk/browser_window_gtk.cc
@@ -873,7 +873,7 @@ void BrowserWindowGtk::ShowNewProfileDialog() {
void BrowserWindowGtk::ShowRepostFormWarningDialog(
TabContents* tab_contents) {
- new RepostFormWarningGtk(GetNativeHandle(), &tab_contents->controller());
+ new RepostFormWarningGtk(GetNativeHandle(), tab_contents);
}
void BrowserWindowGtk::ShowContentSettingsWindow(
« no previous file with comments | « no previous file | chrome/browser/gtk/repost_form_warning_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698