Bug 1525086 - Part 4 - Cache the result of nsMacUtilsImpl::GetAppPath r=Alex_Gaynor
commit35ea11e89dc7b24a310b7ce6ee95c56a5cd400d7
authorHaik Aftandilian <haftandilian@mozilla.com>
Thu, 28 Mar 2019 02:25:54 +0000 (28 02:25 +0000)
committerHaik Aftandilian <haftandilian@mozilla.com>
Thu, 28 Mar 2019 02:25:54 +0000 (28 02:25 +0000)
treee0326d66fc9fd35fb1e269d750a0ce8344afe23c
parent9eeac5a5a238ecc91808c80aaa7d73180ae19a50
Bug 1525086 - Part 4 - Cache the result of nsMacUtilsImpl::GetAppPath r=Alex_Gaynor

Cache the result of nsMacUtilsImpl::GetAppPath() to avoid doing I/O on repeated calls.

Differential Revision: https://phabricator.services.mozilla.com/D22410

--HG--
extra : moz-landing-system : lando
xpcom/base/nsMacUtilsImpl.cpp
xpcom/base/nsMacUtilsImpl.h