| Index: components/nacl/renderer/nexe_load_manager.cc
|
| diff --git a/components/nacl/renderer/nexe_load_manager.cc b/components/nacl/renderer/nexe_load_manager.cc
|
| index adbc4c974286cefe51aba2ae01ad3f95bbcc4cfd..5e561aebd0b0333e835d8734b2a870b9b281a996 100644
|
| --- a/components/nacl/renderer/nexe_load_manager.cc
|
| +++ b/components/nacl/renderer/nexe_load_manager.cc
|
| @@ -231,7 +231,7 @@ void NexeLoadManager::ReportLoadAbort() {
|
| LogToConsole(error_string);
|
| }
|
|
|
| -void NexeLoadManager::NexeDidCrash(const char* crash_log) {
|
| +void NexeLoadManager::NexeDidCrash() {
|
| VLOG(1) << "Plugin::NexeDidCrash: crash event!";
|
| // The NaCl module voluntarily exited. However, this is still a
|
| // crash from the point of view of Pepper, since PPAPI plugins are
|
| @@ -253,13 +253,6 @@ void NexeLoadManager::NexeDidCrash(const char* crash_log) {
|
| "Nexe crashed during startup");
|
| }
|
| }
|
| - // In all cases, try to grab the crash log. The first error
|
| - // reported may have come from the start_module RPC reply indicating
|
| - // a validation error or something similar, which wouldn't grab the
|
| - // crash log. In the event that this is called twice, the second
|
| - // invocation will just be a no-op, since the entire crash log will
|
| - // have been received and we'll just get an EOF indication.
|
| - CopyCrashLogToJsConsole(crash_log);
|
| }
|
|
|
| void NexeLoadManager::set_trusted_plugin_channel(
|
| @@ -417,10 +410,4 @@ void NexeLoadManager::ReportDeadNexe() {
|
| // to provide error handling.
|
| }
|
|
|
| -void NexeLoadManager::CopyCrashLogToJsConsole(const std::string& crash_log) {
|
| - base::StringTokenizer t(crash_log, "\n");
|
| - while (t.GetNext())
|
| - LogToConsole(t.token());
|
| -}
|
| -
|
| } // namespace nacl
|
|
|