From eee4e46aea64fbf882cb9dda2088a8a1082ed208 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 04:42:18 +0200 Subject: Merging upstream version 115.10.0esr. Signed-off-by: Daniel Baumann --- dom/base/Navigator.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dom/base/Navigator.cpp') diff --git a/dom/base/Navigator.cpp b/dom/base/Navigator.cpp index 151d992d6f..c4636f6d8b 100644 --- a/dom/base/Navigator.cpp +++ b/dom/base/Navigator.cpp @@ -167,6 +167,7 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(Navigator) NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mVRServiceTest) NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mSharePromise) NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mXRSystem) + NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mClipboard) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END void Navigator::Invalidate() { @@ -246,6 +247,8 @@ void Navigator::Invalidate() { } mSharePromise = nullptr; + + mClipboard = nullptr; } void Navigator::GetUserAgent(nsAString& aUserAgent, CallerType aCallerType, -- cgit v1.2.3