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

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, 3 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698