diff options
author | Moonchild <moonchild@palemoon.org> | 2023-10-17 12:56:22 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-10-17 16:37:41 +0200 |
commit | 08406731e57a357418190043eaa83e5d27c11dd0 (patch) | |
tree | fd34b63b0ae134e7fcef0dac433edff861740f0c /layout | |
parent | 60b4d804bd8f29582df32db7e862e1e91b221e69 (diff) | |
download | uxp-08406731e57a357418190043eaa83e5d27c11dd0.tar.gz |
Issue #2346 - Remove MOZ_EME conditional code
Diffstat (limited to 'layout')
-rw-r--r-- | layout/base/nsLayoutUtils.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp index b770e69fcb..f1a890aa45 100644 --- a/layout/base/nsLayoutUtils.cpp +++ b/layout/base/nsLayoutUtils.cpp @@ -7278,12 +7278,6 @@ nsLayoutUtils::SurfaceFromElement(HTMLVideoElement* aElement, (aSurfaceFlags & SFE_PREFER_NO_PREMULTIPLY_ALPHA) == 0, "We can't support non-premultiplied alpha for video!"); -#ifdef MOZ_EME - if (aElement->ContainsRestrictedContent()) { - return result; - } -#endif - uint16_t readyState; if (NS_SUCCEEDED(aElement->GetReadyState(&readyState)) && (readyState == nsIDOMHTMLMediaElement::HAVE_NOTHING || |