зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1243430 - remove stray carriage returns from MessagePump.cpp; r=me
DONTBUILD because whitespace-only changes are trivial.
This commit is contained in:
Родитель
d9cf7106f5
Коммит
90918b40e9
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче