Index: content/shell/browser/shell.cc |
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc |
index fa0183e2f03b4f9aa78f702ddd1e766f553a7c81..546e5e3fabe2f8ef068a2dd9da30334885cdaea4 100644 |
--- a/content/shell/browser/shell.cc |
+++ b/content/shell/browser/shell.cc |
@@ -213,10 +213,10 @@ void Shell::LoadDataWithBaseURL(const GURL& url, const std::string& data, |
void Shell::AddNewContents(WebContents* source, |
WebContents* new_contents, |
WindowOpenDisposition disposition, |
- const gfx::Rect& initial_pos, |
+ const gfx::Rect& initial_rect, |
bool user_gesture, |
bool* was_blocked) { |
- CreateShell(new_contents, AdjustWindowSize(initial_pos.size())); |
+ CreateShell(new_contents, AdjustWindowSize(initial_rect.size())); |
if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kDumpRenderTree)) |
NotifyDoneForwarder::CreateForWebContents(new_contents); |