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

Unified Diff: content/renderer/pepper_plugin_delegate_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
« no previous file with comments | « content/renderer/gpu/command_buffer_proxy.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper_plugin_delegate_impl.cc
===================================================================
--- content/renderer/pepper_plugin_delegate_impl.cc (revision 105562)
+++ content/renderer/pepper_plugin_delegate_impl.cc (working copy)
@@ -19,6 +19,7 @@
#include "base/task.h"
#include "base/time.h"
#include "content/common/child_process.h"
+#include "content/common/child_process_messages.h"
#include "content/common/child_thread.h"
#include "content/common/file_system/file_system_dispatcher.h"
#include "content/common/file_system_messages.h"
@@ -1656,7 +1657,7 @@
return NULL;
base::SharedMemoryHandle handle;
if (!render_view_->Send(
- new ViewHostMsg_AllocateSharedMemoryBuffer(size, &handle))) {
+ new ChildProcessHostMsg_SyncAllocateSharedMemory(size, &handle))) {
DLOG(WARNING) << "Browser allocation request message failed";
return NULL;
}
« no previous file with comments | « content/renderer/gpu/command_buffer_proxy.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698