diff options
author | Matt A. Tobin <email@mattatobin.com> | 2022-04-21 00:17:29 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-04-21 00:17:29 -0500 |
commit | b369c8a3403464c9b095a08b1809805e38d1afc0 (patch) | |
tree | 98ea781ddc22eb8a0286572fdd4cdf78715e4c28 | |
parent | d7e3c6e0f54c33a52a936efb7af0a6e7edae89bb (diff) | |
download | aura-central-b369c8a3403464c9b095a08b1809805e38d1afc0.tar.gz |
Issue #25 - Part 6: Remove EME from layout/base
-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 ae66219cf..732068ac2 100644 --- a/layout/base/nsLayoutUtils.cpp +++ b/layout/base/nsLayoutUtils.cpp @@ -7217,12 +7217,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 || |