Skip to content
Snippets Groups Projects
Commit b5c0f07b authored by Daniel Holbert's avatar Daniel Holbert
Browse files

Bug 1733727 part 2: Use StaticAutoPtr to manage lifetime of various "sFoo"...

Bug 1733727 part 2: Use StaticAutoPtr to manage lifetime of various "sFoo" static global variables in layout. r=jfkthame

This patch doesn't change any user-observable behavior.

StaticAutoPtr lets us remove a handful of explicit 'delete' statements, by
making deletion happen automatically when these variables are cleared.

Differential Revision: https://phabricator.services.mozilla.com/D127336
parent a971fdf9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment