mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backing out 704e77dcb303
This commit is contained in:
parent
394627c4e4
commit
c507783a95
@ -11,7 +11,6 @@
|
||||
#include "base/singleton.h"
|
||||
#include "base/waitable_event.h"
|
||||
#ifdef CHROMIUM_MOZILLA_BUILD
|
||||
#include "mozilla/ipc/ProcessChild.h"
|
||||
#include "mozilla/ipc/BrowserProcessSubThread.h"
|
||||
typedef mozilla::ipc::BrowserProcessSubThread ChromeThread;
|
||||
#else
|
||||
@ -121,7 +120,9 @@ bool ChildProcessHost::Send(IPC::Message* msg) {
|
||||
|
||||
void ChildProcessHost::Notify(NotificationType type) {
|
||||
#ifdef CHROMIUM_MOZILLA_BUILD
|
||||
MessageLoop* loop = mozilla::ipc::ProcessChild::message_loop();
|
||||
MessageLoop* loop = ChromeThread::GetMessageLoop(ChromeThread::IO);
|
||||
if (!loop)
|
||||
loop = MessageLoop::current();
|
||||
loop->PostTask(
|
||||
#else
|
||||
resource_dispatcher_host_->ui_loop()->PostTask(
|
||||
|
Loading…
Reference in New Issue
Block a user