summaryrefslogtreecommitdiff
path: root/layout/base
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-12-27 11:33:08 +0000
committerMoonchild <moonchild@palemoon.org>2021-12-27 11:33:08 +0000
commita3bcbd51d04a43148489595af68b28efacca6bce (patch)
treeb84b4cadc5fe4ce78cb68365ffb9bf0f61ca68b6 /layout/base
parent91bf576590fb768b20d3e61536091bb05d9ecdde (diff)
downloadaura-central-a3bcbd51d04a43148489595af68b28efacca6bce.tar.gz
Issue %3012 - Remove EME support code and conditionals.
Diffstat (limited to 'layout/base')
-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 a66848235..01d75c1cf 100644
--- a/layout/base/nsLayoutUtils.cpp
+++ b/layout/base/nsLayoutUtils.cpp
@@ -7263,12 +7263,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 ||