Bug 842782 - p2: introduce attributes for orientation lock to video element. r=jwwang,smaug

MozReview-Commit-ID: odq1y9qH1
This commit is contained in:
John Lin
2017-08-25 14:23:03 +08:00
parent 3af2386c4f
commit 09e4a53cee
3 changed files with 28 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ NS_IMPL_ELEMENT_CLONE(HTMLVideoElement)
HTMLVideoElement::HTMLVideoElement(already_AddRefed<NodeInfo>& aNodeInfo)
: HTMLMediaElement(aNodeInfo)
, mUseScreenWakeLock(true)
, mIsOrientationLocked(false)
{
}