summaryrefslogtreecommitdiffstats
path: root/docshell/base/nsDocShell.h
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/base/nsDocShell.h')
-rw-r--r--docshell/base/nsDocShell.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/docshell/base/nsDocShell.h b/docshell/base/nsDocShell.h
index c9ef809..46357e6 100644
--- a/docshell/base/nsDocShell.h
+++ b/docshell/base/nsDocShell.h
@@ -941,8 +941,9 @@ class nsDocShell final : public nsDocLoader,
// Note these are intentionally not addrefd. Doing so will create a cycle.
// For that reasons don't use nsCOMPtr.
- nsIDocShellTreeOwner* mTreeOwner; // Weak Reference
- mozilla::dom::EventTarget* mChromeEventHandler; // Weak Reference
+ nsIDocShellTreeOwner* mTreeOwner; // Weak Reference
+
+ nsCOMPtr<mozilla::dom::EventTarget> mChromeEventHandler;
nsIntPoint mDefaultScrollbarPref; // persistent across doc loads