Files
firefox/widget
Daniel Holbert edd61684e6 Bug 2037700: Use MakeRefPtr and MakeAndAddRef instead of 'new' to allocate gfxDrawable instances. r=media-playback-reviewers,layout-reviewers,emilio,padenot
I'm using MakeRefPtr nearly everywhere, except when the old code was
immediately returning foo.forget() - in those spots, I'm using MakeAndAddRef
for brevity (since that function does the forget() internally).

Differential Revision: https://phabricator.services.mozilla.com/D299013
2026-05-11 19:15:07 +00:00
..