-
Emilio Cobos Álvarez authored
Saving a refcount bump is not worth the churn. Use a proper RefPtr<> everywhere instead of manual refcounting, and don't make DoSheetComplete call NS_RELEASE unconditionally. Also, make clear by using references where null is expected or not. Also, properly use a RefPtr in mPendingDatas, since they are strong pointers, in fact. Finally, remove some unused macros from nsCSSValue of which this code was the last consumer. Differential Revision: https://phabricator.services.mozilla.com/D41090 --HG-- extra : moz-landing-system : lando
36d3f1e1