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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 8229039: Make shared memory allocation possible for all child process types. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/renderer/render_thread_impl.cc
===================================================================
--- content/renderer/render_thread_impl.cc (revision 104763)
+++ content/renderer/render_thread_impl.cc (working copy)
@@ -521,9 +521,10 @@
}
base::SharedMemoryHandle RenderThreadImpl::HostAllocateSharedMemoryBuffer(
- uint32 buffer_size) {
+ uint32 buffer_size) {
base::SharedMemoryHandle mem_handle;
- Send(new ViewHostMsg_AllocateSharedMemoryBuffer(buffer_size, &mem_handle));
+ Send(new ChildProcessHostMsg_SyncAllocateSharedMemory(
+ buffer_size, &mem_handle));
return mem_handle;
}

Powered by Google App Engine
This is Rietveld 408576698