Index: chrome/browser/cocoa/bug_report_window_controller.mm |
=================================================================== |
--- chrome/browser/cocoa/bug_report_window_controller.mm (revision 30815) |
+++ chrome/browser/cocoa/bug_report_window_controller.mm (working copy) |
@@ -96,7 +96,9 @@ |
} |
- (void)runModalDialog { |
- [NSApp runModalForWindow:[self window]]; |
+ NSWindow* bugReportWindow = [self window]; |
+ [bugReportWindow center]; |
Avi (use Gerrit)
2009/11/04 22:50:55
The docs say that -center is called automatically
|
+ [NSApp runModalForWindow:bugReportWindow]; |
} |
- (IBAction)sendReport:(id)sender { |