Loading dom/cache/CacheTypes.ipdlh +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ struct CacheReadStream { nsID id; nullable PCacheStreamControl control; OptionalIPCStream stream; IPCStream stream; }; union CacheReadStreamOrVoid Loading dom/cache/ReadStream.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -245,7 +245,7 @@ ReadStream::Inner::Serialize(CacheReadStream* aReadStreamOut, mControl->SerializeStream(aReadStreamOut, mStream, aStreamCleanupList); } MOZ_DIAGNOSTIC_ASSERT(aReadStreamOut->stream().get_IPCStream().type() == MOZ_DIAGNOSTIC_ASSERT(aReadStreamOut->stream().type() == IPCStream::TInputStreamParamsWithFds); // We're passing ownership across the IPC barrier with the control, so Loading Loading @@ -474,7 +474,7 @@ ReadStream::Create(const CacheReadStream& aReadStream) return nullptr; } MOZ_DIAGNOSTIC_ASSERT(aReadStream.stream().get_IPCStream().type() == MOZ_DIAGNOSTIC_ASSERT(aReadStream.stream().type() == IPCStream::TInputStreamParamsWithFds); // Control is guaranteed to survive this method as ActorDestroy() cannot Loading Loading
dom/cache/CacheTypes.ipdlh +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ struct CacheReadStream { nsID id; nullable PCacheStreamControl control; OptionalIPCStream stream; IPCStream stream; }; union CacheReadStreamOrVoid Loading
dom/cache/ReadStream.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -245,7 +245,7 @@ ReadStream::Inner::Serialize(CacheReadStream* aReadStreamOut, mControl->SerializeStream(aReadStreamOut, mStream, aStreamCleanupList); } MOZ_DIAGNOSTIC_ASSERT(aReadStreamOut->stream().get_IPCStream().type() == MOZ_DIAGNOSTIC_ASSERT(aReadStreamOut->stream().type() == IPCStream::TInputStreamParamsWithFds); // We're passing ownership across the IPC barrier with the control, so Loading Loading @@ -474,7 +474,7 @@ ReadStream::Create(const CacheReadStream& aReadStream) return nullptr; } MOZ_DIAGNOSTIC_ASSERT(aReadStream.stream().get_IPCStream().type() == MOZ_DIAGNOSTIC_ASSERT(aReadStream.stream().type() == IPCStream::TInputStreamParamsWithFds); // Control is guaranteed to survive this method as ActorDestroy() cannot Loading