summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r--chrome/renderer/render_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index 528120b..48f1a4c 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -1676,8 +1676,8 @@ WebView* RenderView::CreateWebView(WebView* webview, bool user_gesture) {
int32 routing_id = MSG_ROUTING_NONE;
HANDLE modal_dialog_event = NULL;
bool result = RenderThread::current()->Send(
- new ViewHostMsg_CreateView(routing_id_, user_gesture, &routing_id,
- &modal_dialog_event));
+ new ViewHostMsg_CreateWindow(routing_id_, user_gesture, &routing_id,
+ &modal_dialog_event));
if (routing_id == MSG_ROUTING_NONE) {
DCHECK(modal_dialog_event == NULL);
return NULL;