mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 1168161 - Mark nsPIDOMWindow::mDocShell as MOZ_NON_OWNING_REF. r=ehsan
This commit is contained in:
parent
9cea8f483b
commit
907a69d0ad
@ -778,7 +778,10 @@ protected:
|
||||
|
||||
// These members are only used on outer windows.
|
||||
nsCOMPtr<mozilla::dom::Element> mFrameElement;
|
||||
nsIDocShell *mDocShell; // Weak Reference
|
||||
// This reference is used by the subclass nsGlobalWindow, and cleared in it's
|
||||
// DetachFromDocShell() method. This method is called by nsDocShell::Destroy(),
|
||||
// which is called before the nsDocShell is destroyed.
|
||||
nsIDocShell* MOZ_NON_OWNING_REF mDocShell; // Weak Reference
|
||||
|
||||
// mPerformance is only used on inner windows.
|
||||
nsRefPtr<nsPerformance> mPerformance;
|
||||
|
Loading…
Reference in New Issue
Block a user