summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-26 23:31:48 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-26 23:31:48 +0000
commitbd9c1a14f1f62f3d66881b061f44f1e7a54e71f8 (patch)
treebd0959af3430eb42c42290a8df98c47f20e12176
parentf920128bcd600ed0183e1db2f7e34a9426b80706 (diff)
downloadchromium_src-bd9c1a14f1f62f3d66881b061f44f1e7a54e71f8.zip
chromium_src-bd9c1a14f1f62f3d66881b061f44f1e7a54e71f8.tar.gz
chromium_src-bd9c1a14f1f62f3d66881b061f44f1e7a54e71f8.tar.bz2
Fix the build.
Review URL: http://codereview.chromium.org/18829 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8680 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/renderer_host/render_view_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index 1c724e2..15d9d63 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -761,14 +761,14 @@ void RenderViewHost::OnMsgCreateWindow(
if (view) {
#if defined(OS_WIN)
view->CreateNewWindow(route_id,
- new base::WaitableEvent(modal_dialog_event));
+ new base::WaitableEvent(modal_dialog_event.event));
#else
// TODO(port) this isn't correct, since we just make up an event won't ever
// be set by the renderer.
view->CreateNewWindow(route_id,
new base::WaitableEvent(true, false));
- }
#endif
+ }
}
void RenderViewHost::OnMsgCreateWidget(int route_id, bool activatable) {