Bug 1184292 - Remove some Wakelock warning messages when unlocking. r=smaug
CLOSED TREE
This commit is contained in:
@@ -253,7 +253,6 @@ HTMLVideoElement::UpdateScreenWakeLock()
|
||||
if (mScreenWakeLock && (mPaused || hidden)) {
|
||||
ErrorResult rv;
|
||||
mScreenWakeLock->Unlock(rv);
|
||||
NS_WARN_IF_FALSE(!rv.Failed(), "Failed to unlock the wakelock.");
|
||||
mScreenWakeLock = nullptr;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user