Bug 1167406 - Mark nsRootPresContext::RunWillPaintObservers::mPresContext as MOZ_NON_OWNING_REF. r=dbaron

This commit is contained in:
Michael Layzell 2015-06-17 11:48:00 +02:00
parent 377e964bb9
commit 49a1564da6

View File

@ -1531,7 +1531,8 @@ protected:
}
return NS_OK;
}
nsRootPresContext* mPresContext;
// The lifetime of this reference is handled by an nsRevocableEventPtr
nsRootPresContext* MOZ_NON_OWNING_REF mPresContext;
};
friend class nsPresContext;