diff --git a/ipc/glue/MessagePump.cpp b/ipc/glue/MessagePump.cpp index 01fb7148377..a7b62a95e3a 100644 --- a/ipc/glue/MessagePump.cpp +++ b/ipc/glue/MessagePump.cpp @@ -418,31 +418,31 @@ void MessagePumpForNonMainUIThreads::DoRunLoop() ti->SetObserver(nullptr); } - -NS_IMETHODIMP -MessagePumpForNonMainUIThreads::OnDispatchedEvent(nsIThreadInternal *thread) -{ - // If our thread is sleeping in DoRunLoop's call to WaitForWork() and an - // event posts to the nsIThread event queue - break our thread out of - // chromium's WaitForWork. - if (GetInWait()) { - ScheduleWork(); - } - return NS_OK; -} - -NS_IMETHODIMP -MessagePumpForNonMainUIThreads::OnProcessNextEvent(nsIThreadInternal *thread, - bool mayWait) -{ - return NS_OK; -} - -NS_IMETHODIMP -MessagePumpForNonMainUIThreads::AfterProcessNextEvent(nsIThreadInternal *thread, - bool eventWasProcessed) -{ - return NS_OK; -} + +NS_IMETHODIMP +MessagePumpForNonMainUIThreads::OnDispatchedEvent(nsIThreadInternal *thread) +{ + // If our thread is sleeping in DoRunLoop's call to WaitForWork() and an + // event posts to the nsIThread event queue - break our thread out of + // chromium's WaitForWork. + if (GetInWait()) { + ScheduleWork(); + } + return NS_OK; +} + +NS_IMETHODIMP +MessagePumpForNonMainUIThreads::OnProcessNextEvent(nsIThreadInternal *thread, + bool mayWait) +{ + return NS_OK; +} + +NS_IMETHODIMP +MessagePumpForNonMainUIThreads::AfterProcessNextEvent(nsIThreadInternal *thread, + bool eventWasProcessed) +{ + return NS_OK; +} #endif // XP_WIN