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

Unified Diff: content/renderer/gpu/command_buffer_proxy.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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/command_buffer_proxy.cc
===================================================================
--- content/renderer/gpu/command_buffer_proxy.cc (revision 105562)
+++ content/renderer/gpu/command_buffer_proxy.cc (working copy)
@@ -10,6 +10,7 @@
#include "base/shared_memory.h"
#include "base/stl_util.h"
#include "base/task.h"
+#include "content/common/child_process_messages.h"
#include "content/common/child_thread.h"
#include "content/common/gpu/gpu_messages.h"
#include "content/common/plugin_messages.h"
@@ -100,7 +101,7 @@
return false;
base::SharedMemoryHandle handle;
- if (!child_thread->Send(new ViewHostMsg_AllocateSharedMemoryBuffer(
+ if (!child_thread->Send(new ChildProcessHostMsg_SyncAllocateSharedMemory(
size,
&handle))) {
return false;
@@ -221,7 +222,7 @@
return -1;
base::SharedMemoryHandle handle;
- if (!child_thread->Send(new ViewHostMsg_AllocateSharedMemoryBuffer(
+ if (!child_thread->Send(new ChildProcessHostMsg_SyncAllocateSharedMemory(
size,
&handle))) {
return -1;
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698