Bug 1583882 - Remove vestigial TogglePictureInPicture privileged method on HTMLVideoElement. r=webidl,dminor,smaug*

Differential Revision: https://phabricator.services.mozilla.com/D47611
This commit is contained in:
Mike Conley
2019-09-30 15:34:43 +00:00
parent 172234966d
commit 49cf98de07
3 changed files with 0 additions and 18 deletions

View File

@@ -539,15 +539,5 @@ void HTMLVideoElement::EndCloningVisually() {
}
}
void HTMLVideoElement::TogglePictureInPicture(ErrorResult& error) {
// The MozTogglePictureInPicture event is listen for via the
// PictureInPictureChild actor, which is responsible for opening the new
// window and starting the visual clone.
nsresult rv = DispatchEvent(NS_LITERAL_STRING("MozTogglePictureInPicture"));
if (NS_FAILED(rv)) {
error.Throw(rv);
}
}
} // namespace dom
} // namespace mozilla