Bug 1168167 - Mark LazyIdleThread::mIdleObserver with MOZ_UNSAFE_REF. r=froydnj

--HG--
extra : rebase_source : 59331d49e110ca59cfd2c396c5bac838bced7456
This commit is contained in:
Michael Layzell 2015-05-29 06:56:00 -04:00
parent 6518772df5
commit 7524d2bb65

View File

@ -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