summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 01:32:04 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 01:32:04 +0000
commit22713d61f52e556f34749c334520bec66c911dc7 (patch)
tree38c999be6128f01e0f984806139637f7e17fc1a8 /chrome/common
parent889dbc161eb8f0cf43dfc91c80294372e7da6d46 (diff)
downloadchromium_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.cc2
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
}
}