Bug 997242 - Make DeviceStorageFileDescriptor use a threadsafe reference count. r=khuey
authorDave Hylands <dhylands@mozilla.com>
Mon, 21 Apr 2014 11:56:04 -0700
changeset 179458 1f2b13a29a74337aa80c70be3ee2b40c6ecce6f1
parent 179457 dc037e7f4228647e91e91a5d54344a9e6888d580
child 179459 c962bde5ac0b277dbcce06e071b7f0011e58a49b
push id26624
push userryanvm@gmail.com
push dateMon, 21 Apr 2014 20:17:03 +0000
treeherdermozilla-central@c962bde5ac0b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs997242
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 997242 - Make DeviceStorageFileDescriptor use a threadsafe reference count. r=khuey
dom/devicestorage/DeviceStorageFileDescriptor.h
--- a/dom/devicestorage/DeviceStorageFileDescriptor.h
+++ b/dom/devicestorage/DeviceStorageFileDescriptor.h
@@ -6,14 +6,14 @@
 
 #ifndef DeviceStorageFileDescriptor_h
 #define DeviceStorageFileDescriptor_h
 
 #include "mozilla/ipc/FileDescriptor.h"
 
 struct DeviceStorageFileDescriptor MOZ_FINAL
 {
-  NS_INLINE_DECL_REFCOUNTING(DeviceStorageFileDescriptor)
+  NS_INLINE_DECL_THREADSAFE_REFCOUNTING(DeviceStorageFileDescriptor)
   nsRefPtr<DeviceStorageFile> mDSFile;
   mozilla::ipc::FileDescriptor mFileDescriptor;
 };
 
 #endif