HomePhabricator Dev

rMOZILLARELEASEafbf73fb4073

Bug 1535530. Fix can-run-script analysis to not mishandle on-stack refs to RefPtrs. r=andi,masayuki

The key here is to test the type of the variable declaration for being a
smartptr type, instead of testing the type of the variable _use_.

Differential Revision: https://phabricator.services.mozilla.com/D65581
Author: bzbarsky
Commit Date: Mar 6 2020