mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 02:02:33 +00:00
Bug 1405518
: Make SyncObjectClient atomically refcounted as it may be accessed both on the paint and the main thread. r=dvander
MozReview-Commit-ID: K0QvlGlXIIc
This commit is contained in:
parent
d645d9cf29
commit
6c3bb8c38c
@ -41,7 +41,7 @@ protected:
|
||||
SyncObjectHost() { }
|
||||
};
|
||||
|
||||
class SyncObjectClient : public RefCounted<SyncObjectClient>
|
||||
class SyncObjectClient : public external::AtomicRefCounted<SyncObjectClient>
|
||||
{
|
||||
public:
|
||||
MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME(SyncObjectClient)
|
||||
|
Loading…
Reference in New Issue
Block a user