| Index: remoting/host/plugin/host_script_object.cc
|
| diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc
|
| index 2ba2c468dda1327ce00b3802c8d244df4d71afd5..5357cfb65a59e5dc8f04c41ee3bc403709f88eac 100644
|
| --- a/remoting/host/plugin/host_script_object.cc
|
| +++ b/remoting/host/plugin/host_script_object.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/message_loop.h"
|
| +#include "base/message_loop_proxy.h"
|
| #include "base/threading/platform_thread.h"
|
| #include "remoting/base/auth_token_util.h"
|
| #include "remoting/base/util.h"
|
| @@ -318,7 +319,7 @@ void HostNPScriptObject::OnSignallingDisconnected() {
|
| }
|
|
|
| void HostNPScriptObject::OnAccessDenied() {
|
| - DCHECK_EQ(MessageLoop::current(), host_context_.network_message_loop());
|
| + DCHECK(host_context_.network_message_loop()->BelongsToCurrentThread());
|
|
|
| ++failed_login_attempts_;
|
| if (failed_login_attempts_ == kMaxLoginAttempts)
|
|
|