Bug 1583203 - followup: Remove some silly null-checks.

CLOSED TREE

MANUAL PUSH: red
This commit is contained in:
Emilio Cobos Álvarez
2019-09-23 16:49:10 +02:00
parent 353bd73c29
commit cc933984c0

View File

@@ -2175,7 +2175,7 @@ void HTMLMediaElement::Load() {
HasAttr(kNameSpaceID_None, nsGkAtoms::autoplay),
AutoplayPolicy::IsAllowedToPlay(*this), OwnerDoc(),
DocumentOrigin(OwnerDoc()).get(),
OwnerDoc() ? OwnerDoc()->HasBeenUserGestureActivated() : 0, mMuted,
OwnerDoc()->HasBeenUserGestureActivated(), mMuted,
mVolume));
if (mIsRunningLoadMethod) {