forked from mirrors/gecko-dev
Bug 1659060 - part3 : update mac wakelock log. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D91043
This commit is contained in:
parent
a3bb24c763
commit
f79d9dced0
1 changed files with 2 additions and 2 deletions
|
|
@ -83,8 +83,8 @@ class MacWakeLockListener final : public nsIDOMMozWakeLockListener {
|
|||
shouldKeepDisplayOn ? kIOPMAssertionTypeNoDisplaySleep : kIOPMAssertionTypeNoIdleSleep;
|
||||
IOPMAssertionID& assertionId =
|
||||
shouldKeepDisplayOn ? mAssertionNoDisplaySleepID : mAssertionNoIdleSleepID;
|
||||
WAKE_LOCK_LOG("topic=%s, shouldKeepDisplayOn=%d", NS_ConvertUTF16toUTF8(aTopic).get(),
|
||||
shouldKeepDisplayOn);
|
||||
WAKE_LOCK_LOG("topic=%s, state=%s, shouldKeepDisplayOn=%d", NS_ConvertUTF16toUTF8(aTopic).get(),
|
||||
NS_ConvertUTF16toUTF8(aState).get(), shouldKeepDisplayOn);
|
||||
|
||||
// Note the wake lock code ensures that we're not sent duplicate
|
||||
// "locked-foreground" notifications when multiple wake locks are held.
|
||||
|
|
|
|||
Loading…
Reference in a new issue