diff options
author | Moonchild <moonchild@palemoon.org> | 2020-06-03 09:44:20 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-06-03 09:44:20 +0000 |
commit | 11718bf88e2f5fa00cf69da9709b4a5923e42546 (patch) | |
tree | b07012d6d30d0c59f6decfcfa78a5a52e75ec375 /dom/media/eme/EMEUtils.h | |
parent | d7a6bb21713829e49c1ecdeda6005dbe26dae864 (diff) | |
download | UXP-11718bf88e2f5fa00cf69da9709b4a5923e42546.tar UXP-11718bf88e2f5fa00cf69da9709b4a5923e42546.tar.gz UXP-11718bf88e2f5fa00cf69da9709b4a5923e42546.tar.lz UXP-11718bf88e2f5fa00cf69da9709b4a5923e42546.tar.xz UXP-11718bf88e2f5fa00cf69da9709b4a5923e42546.zip |
Bug 1632717
Diffstat (limited to 'dom/media/eme/EMEUtils.h')
-rw-r--r-- | dom/media/eme/EMEUtils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/media/eme/EMEUtils.h b/dom/media/eme/EMEUtils.h index 4a2e5da18..3b5d88561 100644 --- a/dom/media/eme/EMEUtils.h +++ b/dom/media/eme/EMEUtils.h @@ -45,6 +45,10 @@ void CopyArrayBufferViewOrArrayBufferData(const dom::ArrayBufferViewOrArrayBuffer& aBufferOrView, nsTArray<uint8_t>& aOutData); +// Overload for ArrayBuffer +void CopyArrayBufferViewOrArrayBufferData(const dom::ArrayBuffer& aBufferOrView, + nsTArray<uint8_t>& aOutData); + struct ArrayData { explicit ArrayData(const uint8_t* aData, size_t aLength) : mData(aData) |