diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 23:43:04 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 23:43:04 +0000 |
commit | dee7225eb729e5c65a6fad3b7d06d55754ab37dd (patch) | |
tree | 9763ef7f91e5f5f4122d534c596cb148aa432990 /chrome/renderer/render_view.cc | |
parent | d2980947d999c2920062a263ff7919677dabb9e9 (diff) | |
download | chromium_src-dee7225eb729e5c65a6fad3b7d06d55754ab37dd.zip chromium_src-dee7225eb729e5c65a6fad3b7d06d55754ab37dd.tar.gz chromium_src-dee7225eb729e5c65a6fad3b7d06d55754ab37dd.tar.bz2 |
Revert "Make render_view_host compile on Mac & Linux, add to the build."
Review URL: http://codereview.chromium.org/18796
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r-- | chrome/renderer/render_view.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index 4c81397..1d3d7af 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -1855,13 +1855,12 @@ WebView* RenderView::CreateWebView(WebView* webview, bool user_gesture) { int32 routing_id = MSG_ROUTING_NONE; #if defined(OS_WIN) - ModalDialogEvent modal_dialog_event; - modal_dialog_event.event = NULL; + HANDLE modal_dialog_event = NULL; render_thread_->Send( new ViewHostMsg_CreateWindow(routing_id_, user_gesture, &routing_id, &modal_dialog_event)); if (routing_id == MSG_ROUTING_NONE) { - DCHECK(modal_dialog_event.event == NULL); + DCHECK(modal_dialog_event == NULL); return NULL; } #else // defined(OS_WIN) @@ -1877,7 +1876,7 @@ WebView* RenderView::CreateWebView(WebView* webview, bool user_gesture) { const WebPreferences& prefs = webview->GetPreferences(); base::WaitableEvent* waitable_event = new base::WaitableEvent #if defined(OS_WIN) - (modal_dialog_event.event); + (modal_dialog_event); #else (true, false); #endif |