summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_view_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/renderer_host/render_view_host.cc')
-rw-r--r--chrome/browser/renderer_host/render_view_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index cfc8aff..567e7e2 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -153,7 +153,7 @@ bool RenderViewHost::CreateRenderView() {
modal_dialog_event.event = modal_dialog_event_handle;
#endif
- Send(new ViewMsg_New(gfx::IdFromNativeView(view()->GetPluginHWND()),
+ Send(new ViewMsg_New(gfx::IdFromNativeView(view()->GetPluginNativeView()),
modal_dialog_event,
delegate_->GetWebkitPrefs(),
routing_id()));