mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 18:32:00 +00:00

This adds a way to detect if an instance is holding a weak reference or a strong one, makes non-critical failures less chatty and adds separate methods for adding unique and non-unique instances to an array. Differential Revision: https://phabricator.services.mozilla.com/D11645 --HG-- rename : toolkit/components/places/nsMaybeWeakPtr.h => xpcom/base/nsMaybeWeakPtr.h extra : moz-landing-system : lando