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

Unified Diff: components/nacl/renderer/ppb_nacl_private_impl.cc

Issue 424893003: Pepper: Move NaCl fatal logging to Chrome IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for dmichael Created 6 years, 5 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: components/nacl/renderer/ppb_nacl_private_impl.cc
diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
index b814a9a474d30cec9bcae7736076d59565cc6c4d..1b912183288d50d5e126ebf5069b4792a7a963de 100644
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
@@ -417,8 +417,8 @@ void LaunchSelLdr(PP_Instance instance,
// Create the trusted plugin channel.
if (IsValidChannelHandle(launch_result.trusted_ipc_channel_handle)) {
scoped_ptr<TrustedPluginChannel> trusted_plugin_channel(
- new TrustedPluginChannel(
- launch_result.trusted_ipc_channel_handle));
+ new TrustedPluginChannel(instance,
+ launch_result.trusted_ipc_channel_handle));
load_manager->set_trusted_plugin_channel(trusted_plugin_channel.Pass());
} else {
PostPPCompletionCallback(callback, PP_ERROR_FAILED);
@@ -755,10 +755,10 @@ void ReportLoadAbort(PP_Instance instance) {
load_manager->ReportLoadAbort();
}
-void NexeDidCrash(PP_Instance instance, const char* crash_log) {
+void NexeDidCrash(PP_Instance instance) {
NexeLoadManager* load_manager = GetNexeLoadManager(instance);
if (load_manager)
- load_manager->NexeDidCrash(crash_log);
+ load_manager->NexeDidCrash();
}
void InstanceCreated(PP_Instance instance) {

Powered by Google App Engine
This is Rietveld 408576698