Index: ui/web_dialogs/web_dialog_web_contents_delegate.cc |
diff --git a/ui/web_dialogs/web_dialog_web_contents_delegate.cc b/ui/web_dialogs/web_dialog_web_contents_delegate.cc |
index ea0006ae79d8e9a20db3fc543db5fdc7faa98ddc..0493e4154846cfe0b0242957bd8571083afa4f79 100644 |
--- a/ui/web_dialogs/web_dialog_web_contents_delegate.cc |
+++ b/ui/web_dialogs/web_dialog_web_contents_delegate.cc |
@@ -42,11 +42,11 @@ WebContents* WebDialogWebContentsDelegate::OpenURLFromTab( |
void WebDialogWebContentsDelegate::AddNewContents( |
WebContents* source, WebContents* new_contents, |
- WindowOpenDisposition disposition, const gfx::Rect& initial_pos, |
+ WindowOpenDisposition disposition, const gfx::Rect& initial_rect, |
bool user_gesture, |
bool* was_blocked) { |
handler_->AddNewContents(browser_context_, source, new_contents, disposition, |
- initial_pos, user_gesture); |
+ initial_rect, user_gesture); |
} |
bool WebDialogWebContentsDelegate::IsPopupOrPanel( |