Bug 1184292 - Remove some Wakelock warning messages when unlocking. r=smaug

CLOSED TREE
This commit is contained in:
Andrea Marchesini
2015-08-26 09:21:00 -04:00
parent bd2b29e992
commit c2655a03af
4 changed files with 0 additions and 4 deletions

View File

@@ -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;
}