diff options
author | Moonchild <moonchild@palemoon.org> | 2023-10-25 22:49:37 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-10-25 22:49:37 +0200 |
commit | 622b43cbc5efc0beb23e601bf87367e1b402a8dd (patch) | |
tree | 863676ae9a157993a74124aa80634282eab0a12a /layout/base/nsLayoutUtils.cpp | |
parent | 75b44ef620a9d054ad7e46058be0963e9dfc181c (diff) | |
parent | a653f74576ccf7e6dd26f4af63a7ca238f63dbc3 (diff) | |
download | uxp-622b43cbc5efc0beb23e601bf87367e1b402a8dd.tar.gz |
Merge branch 'master' into release
Diffstat (limited to 'layout/base/nsLayoutUtils.cpp')
-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 || |