diff options
Diffstat (limited to 'dom/network/TCPSocketParent.cpp')
-rw-r--r-- | dom/network/TCPSocketParent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/network/TCPSocketParent.cpp b/dom/network/TCPSocketParent.cpp index 96eab44510..0e7f0e17ae 100644 --- a/dom/network/TCPSocketParent.cpp +++ b/dom/network/TCPSocketParent.cpp @@ -310,7 +310,7 @@ TCPSocketParent::RecvData(const SendableData& aData, const nsTArray<uint8_t>& buffer = aData.get_ArrayOfuint8_t(); bool ok = IPC::DeserializeArrayBuffer(autoCx, buffer, &val); NS_ENSURE_TRUE(ok, true); - RootedTypedArray<ArrayBuffer> data(autoCx); + RootedSpiderMonkeyInterface<ArrayBuffer> data(autoCx); data.Init(&val.toObject()); Optional<uint32_t> byteLength(buffer.Length()); mSocket->SendWithTrackingNumber(autoCx, data, 0, byteLength, aTrackingNumber, rv); |