Bug 1167665 - Mark css::Loader::mDocument as MOZ_NON_OWNING_REF. r=dbaron

--HG--
extra : rebase_source : 4cbfa9c3e9ffa81c58370d44f265bbe1e729d39b
This commit is contained in:
Michael Layzell 2015-06-16 08:10:00 -04:00
parent e5cd9a9f59
commit d5c9347475

View File

@ -514,8 +514,9 @@ private:
// Our array of "global" observers
nsTObserverArray<nsCOMPtr<nsICSSLoaderObserver> > mObservers;
// the load data needs access to the document...
nsIDocument* mDocument; // the document we live for
// This reference is nulled by the Document in it's destructor through
// DropDocumentReference().
nsIDocument* MOZ_NON_OWNING_REF mDocument; // the document we live for
// Number of datas still waiting to be notified on if we're notifying on a