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

Unified Diff: chrome/browser/resource_message_filter.cc

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 | « chrome/browser/resource_message_filter.h ('k') | chrome/browser/task_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resource_message_filter.cc
===================================================================
--- chrome/browser/resource_message_filter.cc (revision 5371)
+++ chrome/browser/resource_message_filter.cc (working copy)
@@ -487,11 +487,11 @@
}
void ResourceMessageFilter::OnDuplicateSection(
- SharedMemoryHandle renderer_handle,
- SharedMemoryHandle* browser_handle) {
+ base::SharedMemoryHandle renderer_handle,
+ base::SharedMemoryHandle* browser_handle) {
// Duplicate the handle in this process right now so the memory is kept alive
// (even if it is not mapped)
- SharedMemory shared_buf(renderer_handle, true, render_handle_);
+ base::SharedMemory shared_buf(renderer_handle, true, render_handle_);
shared_buf.GiveToProcess(GetCurrentProcess(), browser_handle);
}
« no previous file with comments | « chrome/browser/resource_message_filter.h ('k') | chrome/browser/task_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698