| Index: content/public/test/mock_render_process_host.cc
|
| diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
|
| index 1f5de5f22faadcfe9467e5f2366cbe667662a694..a59ce5fb3730f522e9122a9f2d71bbb1fef5bec0 100644
|
| --- a/content/public/test/mock_render_process_host.cc
|
| +++ b/content/public/test/mock_render_process_host.cc
|
| @@ -122,6 +122,8 @@ void MockRenderProcessHost::DumpHandles() {
|
| base::ProcessHandle MockRenderProcessHost::GetHandle() const {
|
| // Return the current-process handle for the IPC::GetFileHandleForProcess
|
| // function.
|
| + if (process_handle)
|
| + return *process_handle;
|
| return base::Process::Current().handle();
|
| }
|
|
|
|
|