Skip to content

Commit

Permalink
Make ipc::Shmem hold a strong reference to underlying SharedMemory. (…
Browse files Browse the repository at this point in the history
…bug 1303426 part 1, r=billm)
  • Loading branch information
David Anderson committed Sep 22, 2016
1 parent 79446f3 commit eb5da0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipc/glue/Shmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class Shmem final
void AssertInvariants() const;
#endif

SharedMemory* MOZ_NON_OWNING_REF mSegment;
RefPtr<SharedMemory> mSegment;
void* mData;
size_t mSize;
id_t mId;
Expand Down

0 comments on commit eb5da0d

Please sign in to comment.