Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(754)

Unified Diff: content/public/test/mock_render_process_host.cc

Issue 10854245: In-te-grate hy-phen-ator to con-tent. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/test/mock_render_process_host.cc
===================================================================
--- content/public/test/mock_render_process_host.cc (revision 153434)
+++ 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) {

Powered by Google App Engine
This is Rietveld 408576698