void PointerEvent::GetPointerType(nsAString& aPointerType, CallerType aCallerType) { if (ShouldResistFingerprinting(aCallerType)) { aPointerType.AssignLiteral("mouse"); return; } ConvertPointerTypeToString(mEvent->AsPointerEvent()->inputSource, aPointerType); }
void PointerEvent::GetPointerType(nsAString& aPointerType) { ConvertPointerTypeToString(mEvent->AsPointerEvent()->inputSource, aPointerType); }