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

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

Issue 402065: Made HtmlDialogWindowController on OS X use its own browser. (Closed)
Patch Set: synced to head Created 11 years, 1 month 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/cocoa/html_dialog_window_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/html_dialog_window_controller_unittest.mm
diff --git a/chrome/browser/cocoa/html_dialog_window_controller_unittest.mm b/chrome/browser/cocoa/html_dialog_window_controller_unittest.mm
index de6ec22608a5a5a56ae7e0bb490c13a8271ef789..13eb6e857674cc800edac2cdb4cd67dff6afd808 100644
--- a/chrome/browser/cocoa/html_dialog_window_controller_unittest.mm
+++ b/chrome/browser/cocoa/html_dialog_window_controller_unittest.mm
@@ -79,11 +79,11 @@ TEST_F(HtmlDialogWindowControllerTest, showDialog) {
EXPECT_CALL(delegate_, OnDialogClosed(_))
.Times(1);
- NSWindow* parent_window = cocoa_helper_.window();
+ NSWindow* parentWindow = cocoa_helper_.window();
HtmlDialogWindowController* html_dialog_window_controller =
[[HtmlDialogWindowController alloc] initWithDelegate:&delegate_
- parentWindow:parent_window
- browser:browser()];
+ profile:profile()
+ parentWindow:parentWindow];
[html_dialog_window_controller loadDialogContents];
[html_dialog_window_controller showWindow:nil];
« no previous file with comments | « chrome/browser/cocoa/html_dialog_window_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698