mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 1168167 - Mark LazyIdleThread::mIdleObserver with MOZ_UNSAFE_REF. r=froydnj
--HG-- extra : rebase_source : 59331d49e110ca59cfd2c396c5bac838bced7456
This commit is contained in:
parent
6518772df5
commit
7524d2bb65
@ -162,7 +162,9 @@ private:
|
||||
* Idle observer. Called when the thread is about to be shut down. Released
|
||||
* only when Shutdown() is called.
|
||||
*/
|
||||
nsIObserver* mIdleObserver;
|
||||
nsIObserver* MOZ_UNSAFE_REF("See the documentation for SetWeakIdleObserver for "
|
||||
"how the owner of LazyIdleThread should manage the "
|
||||
"lifetime information of this field") mIdleObserver;
|
||||
|
||||
/**
|
||||
* Temporary storage for events that happen to be dispatched while we're in
|
||||
|
Loading…
x
Reference in New Issue
Block a user