Index: content/public/test/mock_render_process_host.cc |
=================================================================== |
--- content/public/test/mock_render_process_host.cc (revision 154648) |
+++ content/public/test/mock_render_process_host.cc (working copy) |
@@ -101,7 +101,9 @@ |
} |
base::ProcessHandle MockRenderProcessHost::GetHandle() { |
- return base::kNullProcessHandle; |
+ // Return the current-process handle for the IPC::GetFileHandleForProcess |
+ // function. |
+ return base::Process::Current().handle(); |
} |
bool MockRenderProcessHost::Send(IPC::Message* msg) { |