From fb18433e170d7fbef902a066f5a5ca70aa497066 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 6 Feb 2015 10:49:00 +0100 Subject: [PATCH] Bug 1130021 - change ProfileBuffer to use the threadsafe refcount. r=benwa --- tools/profiler/ProfileEntry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/profiler/ProfileEntry.h b/tools/profiler/ProfileEntry.h index fff072cc5720..bbfb9f447f4d 100644 --- a/tools/profiler/ProfileEntry.h +++ b/tools/profiler/ProfileEntry.h @@ -75,7 +75,7 @@ typedef void (*IterateTagsCallback)(const ProfileEntry& entry, const char* tagSt class ProfileBuffer { public: - NS_INLINE_DECL_REFCOUNTING(ProfileBuffer) + NS_INLINE_DECL_THREADSAFE_REFCOUNTING(ProfileBuffer) explicit ProfileBuffer(int aEntrySize);