diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 01:32:04 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 01:32:04 +0000 |
commit | 22713d61f52e556f34749c334520bec66c911dc7 (patch) | |
tree | 38c999be6128f01e0f984806139637f7e17fc1a8 /chrome/common | |
parent | 889dbc161eb8f0cf43dfc91c80294372e7da6d46 (diff) | |
download | chromium_src-22713d61f52e556f34749c334520bec66c911dc7.zip chromium_src-22713d61f52e556f34749c334520bec66c911dc7.tar.gz chromium_src-22713d61f52e556f34749c334520bec66c911dc7.tar.bz2 |
Fix linux build break
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/child_process_host.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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 } } |