mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1038796 - Notify hang activity when processing Android app shell events; r=snorp
This commit is contained in:
parent
f8bc213b2f
commit
5c725bc170
@ -26,6 +26,7 @@
|
||||
#include "nsINetworkLinkService.h"
|
||||
#include "nsCategoryManagerUtils.h"
|
||||
|
||||
#include "mozilla/BackgroundHangMonitor.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/unused.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
@ -261,6 +262,8 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
|
||||
if (!curEvent)
|
||||
return false;
|
||||
|
||||
mozilla::BackgroundHangMonitor().NotifyActivity();
|
||||
|
||||
EVLOG("nsAppShell: event %p %d", (void*)curEvent.get(), curEvent->Type());
|
||||
|
||||
switch (curEvent->Type()) {
|
||||
|
Loading…
Reference in New Issue
Block a user