diff options
author | gregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-22 21:56:00 +0000 |
---|---|---|
committer | gregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-22 21:56:00 +0000 |
commit | c3f678fc5f4eb5160b5c21ef1b35df0ec41bd625 (patch) | |
tree | e56738f86a62c4075981b8c3fd3ca854201ad60a /chrome/nacl | |
parent | 36f3812d41ed6736c5a69930f17b864f33df8297 (diff) | |
download | chromium_src-c3f678fc5f4eb5160b5c21ef1b35df0ec41bd625.zip chromium_src-c3f678fc5f4eb5160b5c21ef1b35df0ec41bd625.tar.gz chromium_src-c3f678fc5f4eb5160b5c21ef1b35df0ec41bd625.tar.bz2 |
Fix bugs in the broker that cause the browser to crash when trying to unload a NaCl module or to load another one.
Review URL: http://codereview.chromium.org/650088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl')
-rw-r--r-- | chrome/nacl/broker_thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/nacl/broker_thread.cc b/chrome/nacl/broker_thread.cc index 0b4bbd2..832c73a7 100644 --- a/chrome/nacl/broker_thread.cc +++ b/chrome/nacl/broker_thread.cc @@ -57,7 +57,7 @@ void NaClBrokerThread::OnLaunchLoaderThroughBroker( if (loader_process) { DuplicateHandle(::GetCurrentProcess(), loader_process, browser_handle_, &loader_handle_in_browser, - PROCESS_DUP_HANDLE, FALSE, 0); + PROCESS_DUP_HANDLE | PROCESS_QUERY_INFORMATION , FALSE, 0); } } Send(new NaClProcessMsg_LoaderLaunched(loader_channel_id, |