File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 21
21
#include " content/nw/src/api/dispatcher_host.h"
22
22
23
23
#include " base/logging.h"
24
+ #include " base/threading/thread_restrictions.h"
24
25
#include " base/values.h"
25
26
#include " content/browser/child_process_security_policy_impl.h"
26
27
#include " content/browser/web_contents/web_contents_impl.h"
@@ -67,6 +68,7 @@ bool DispatcherHost::Send(IPC::Message* message) {
67
68
68
69
bool DispatcherHost::OnMessageReceived (const IPC::Message& message) {
69
70
bool handled = true ;
71
+ base::ThreadRestrictions::ScopedAllowIO allow_io;
70
72
IPC_BEGIN_MESSAGE_MAP (DispatcherHost, message)
71
73
IPC_MESSAGE_HANDLER (ShellViewHostMsg_Allocate_Object, OnAllocateObject)
72
74
IPC_MESSAGE_HANDLER (ShellViewHostMsg_Deallocate_Object, OnDeallocateObject)
You can’t perform that action at this time.
0 commit comments