From 2ccc96a0b9d789944331deb35235e8728eb73a58 Mon Sep 17 00:00:00 2001 From: codyd Date: Wed, 13 Oct 2021 14:57:00 +0000 Subject: [PATCH] Bug 1732578: cut over pointerevents for finer grain API r=tjr Depends on D128297 Differential Revision: https://phabricator.services.mozilla.com/D128298 --- dom/events/PointerEvent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/events/PointerEvent.cpp b/dom/events/PointerEvent.cpp index 9d485cbe7015..f38e41566413 100644 --- a/dom/events/PointerEvent.cpp +++ b/dom/events/PointerEvent.cpp @@ -294,7 +294,7 @@ bool PointerEvent::ShouldResistFingerprinting(CallerType aCallerType) { nsCOMPtr doc = GetDocument(); - return doc && !nsContentUtils::IsChromeDoc(doc); + return nsContentUtils::ShouldResistFingerprinting(doc); } } // namespace mozilla::dom