Index: chrome/browser/ui/cocoa/web_dialog_window_controller.mm |
diff --git a/chrome/browser/ui/cocoa/web_dialog_window_controller.mm b/chrome/browser/ui/cocoa/web_dialog_window_controller.mm |
index 2c9f2db43673ff94afe0b3c3910fa3a805bbcea3..b66c86ce115954edde1de5c5a4d49a059c488a41 100644 |
--- a/chrome/browser/ui/cocoa/web_dialog_window_controller.mm |
+++ b/chrome/browser/ui/cocoa/web_dialog_window_controller.mm |
@@ -67,7 +67,7 @@ public: |
void AddNewContents(content::WebContents* source, |
content::WebContents* new_contents, |
WindowOpenDisposition disposition, |
- const gfx::Rect& initial_pos, |
+ const gfx::Rect& initial_rect, |
bool user_gesture, |
bool* was_blocked) override; |
void LoadingStateChanged(content::WebContents* source, |
@@ -225,15 +225,15 @@ void WebDialogWindowDelegateBridge::AddNewContents( |
content::WebContents* source, |
content::WebContents* new_contents, |
WindowOpenDisposition disposition, |
- const gfx::Rect& initial_pos, |
+ const gfx::Rect& initial_rect, |
bool user_gesture, |
bool* was_blocked) { |
if (delegate_ && delegate_->HandleAddNewContents( |
- source, new_contents, disposition, initial_pos, user_gesture)) { |
+ source, new_contents, disposition, initial_rect, user_gesture)) { |
return; |
} |
WebDialogWebContentsDelegate::AddNewContents( |
- source, new_contents, disposition, initial_pos, user_gesture, |
+ source, new_contents, disposition, initial_rect, user_gesture, |
was_blocked); |
} |