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

Unified Diff: chrome/browser/nacl_host/nacl_process_host.cc

Issue 11434042: PPAPI: Hook up Browser resource host stuff for NaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove debugging and handle conversion Created 8 years 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 | « no previous file | content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/nacl_host/nacl_process_host.cc
diff --git a/chrome/browser/nacl_host/nacl_process_host.cc b/chrome/browser/nacl_host/nacl_process_host.cc
index c854c1a0e815550308e6aa845e7fcdde6fb24b4b..5ca6fc50b5a34c57dddb8690f6260e988c944f1b 100644
--- a/chrome/browser/nacl_host/nacl_process_host.cc
+++ b/chrome/browser/nacl_host/nacl_process_host.cc
@@ -763,14 +763,15 @@ void NaClProcessHost::OnPpapiChannelCreated(
base::MessageLoopProxy::current()));
// Create the browser ppapi host and enable PPAPI message dispatching to the
// browser process.
- content::BrowserPpapiHost::CreateExternalPluginProcess(
- process_.get(), // sender
+ ppapi_host_.reset(content::BrowserPpapiHost::CreateExternalPluginProcess(
+ ipc_proxy_channel_.get(), //process_.get(), // sender
permissions_,
process_->GetData().handle,
ipc_proxy_channel_.get(),
chrome_render_message_filter_->GetHostResolver(),
chrome_render_message_filter_->render_process_id(),
- render_view_id_);
+ render_view_id_));
+
// Send a message to create the NaCl-Renderer channel. The handle is just
// a place holder.
ipc_proxy_channel_->Send(
« no previous file with comments | « no previous file | content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698