| Index: remoting/host/daemon_process.cc
|
| diff --git a/remoting/host/daemon_process.cc b/remoting/host/daemon_process.cc
|
| index 8c7cf67c7a6643dbc0d20e9d27d11f7d73fd8a29..c63051cf6cb4100181a33bb26ea4558daa658bee 100644
|
| --- a/remoting/host/daemon_process.cc
|
| +++ b/remoting/host/daemon_process.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/command_line.h"
|
| #include "base/file_util.h"
|
| #include "base/files/file_path.h"
|
| +#include "base/location.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "net/base/net_util.h"
|
| #include "remoting/base/auto_thread_task_runner.h"
|
| @@ -218,9 +219,9 @@ void DaemonProcess::CreateDesktopSession(int terminal_id,
|
|
|
| void DaemonProcess::CrashNetworkProcess(
|
| const tracked_objects::Location& location) {
|
| - SendToNetwork(new ChromotingDaemonNetworkMsg_Crash(
|
| - location.function_name(), location.file_name(), location.line_number()));
|
| + DCHECK(caller_task_runner()->BelongsToCurrentThread());
|
|
|
| + DoCrashNetworkProcess(location);
|
| DeleteAllDesktopSessions();
|
| }
|
|
|
|
|