From 22713d61f52e556f34749c334520bec66c911dc7 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Fri, 6 Mar 2009 01:32:04 +0000 Subject: Fix linux build break git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11081 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/child_process_host.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/common') diff --git a/chrome/common/child_process_host.cc b/chrome/common/child_process_host.cc index a5058d2..cb37d30 100644 --- a/chrome/common/child_process_host.cc +++ b/chrome/common/child_process_host.cc @@ -56,9 +56,11 @@ ChildProcessHost::~ChildProcessHost() { watcher_.StopWatching(); ProcessWatcher::EnsureProcessTerminated(handle()); +#if defined(OS_WIN) // Above call took ownership, so don't want WaitableEvent to assert because // the handle isn't valid anymore. process_event_->Release(); +#endif } } -- cgit v1.1