summaryrefslogtreecommitdiffstats
path: root/base/base_paths_mac.mm
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-11 08:33:13 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-11 08:33:13 +0000
commitb321afd723f86131aedf27a7d38a2b69c99375c6 (patch)
treeef9c670c842c5f1f3a6b7ac6e0e7287a740deb66 /base/base_paths_mac.mm
parentf4df93213ea5e482373dae917386ccebd9f5b430 (diff)
downloadchromium_src-b321afd723f86131aedf27a7d38a2b69c99375c6.zip
chromium_src-b321afd723f86131aedf27a7d38a2b69c99375c6.tar.gz
chromium_src-b321afd723f86131aedf27a7d38a2b69c99375c6.tar.bz2
Even though AtExit should never be called while an object is being accessed, it is cleaner and a bit safer to doing an AtomicExchange, so instance_ is not kept as the pointer value while we're deleting it. This also moves an unsafe direct access to the AtomicWord to calling through the atomic API.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@640 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_paths_mac.mm')
0 files changed, 0 insertions, 0 deletions