Bug 1262053 - part8 : remove function NotifyOwnerDocumentActivityChangedInternal. r=cpearce

MozReview-Commit-ID: DnWgQHGJLU5
This commit is contained in:
Alastor Wu
2016-08-29 18:56:38 +08:00
parent 006d68935e
commit 2a26bc5f28
4 changed files with 9 additions and 24 deletions

View File

@@ -221,12 +221,11 @@ HTMLVideoElement::WrapNode(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
return HTMLVideoElementBinding::Wrap(aCx, this, aGivenProto);
}
bool
HTMLVideoElement::NotifyOwnerDocumentActivityChangedInternal()
void
HTMLVideoElement::NotifyOwnerDocumentActivityChanged()
{
bool pauseElement = HTMLMediaElement::NotifyOwnerDocumentActivityChangedInternal();
HTMLMediaElement::NotifyOwnerDocumentActivityChanged();
UpdateScreenWakeLock();
return pauseElement;
}
FrameStatistics*