diff options
author | Moonchild <moonchild@palemoon.org> | 2020-06-03 09:44:20 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-06-03 10:49:35 +0000 |
commit | 54b4fb0be65011d4ba706144a2a508a3a74796ac (patch) | |
tree | 785818dc5fa8401543775567e80740082cb60923 /dom/media/eme/EMEUtils.h | |
parent | a054ece0412bcd783b78e18f1aea48f6df4fe837 (diff) | |
download | UXP-54b4fb0be65011d4ba706144a2a508a3a74796ac.tar UXP-54b4fb0be65011d4ba706144a2a508a3a74796ac.tar.gz UXP-54b4fb0be65011d4ba706144a2a508a3a74796ac.tar.lz UXP-54b4fb0be65011d4ba706144a2a508a3a74796ac.tar.xz UXP-54b4fb0be65011d4ba706144a2a508a3a74796ac.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) |