summaryrefslogtreecommitdiff
path: root/layout/base/nsLayoutUtils.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-10-25 22:49:37 +0200
committerMoonchild <moonchild@palemoon.org>2023-10-25 22:49:37 +0200
commit622b43cbc5efc0beb23e601bf87367e1b402a8dd (patch)
tree863676ae9a157993a74124aa80634282eab0a12a /layout/base/nsLayoutUtils.cpp
parent75b44ef620a9d054ad7e46058be0963e9dfc181c (diff)
parenta653f74576ccf7e6dd26f4af63a7ca238f63dbc3 (diff)
downloaduxp-622b43cbc5efc0beb23e601bf87367e1b402a8dd.tar.gz
Merge branch 'master' into release
Diffstat (limited to 'layout/base/nsLayoutUtils.cpp')
-rw-r--r--layout/base/nsLayoutUtils.cpp6
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 ||