diff --git a/indra/llcommon/lltrace.h b/indra/llcommon/lltrace.h
index c20e836f775f0626bac07fc7da452e9e891b2232..cfe1273b4b2ac84b93fa0f89faf166768c3b6bb0 100644
--- a/indra/llcommon/lltrace.h
+++ b/indra/llcommon/lltrace.h
@@ -169,7 +169,7 @@ class AccumulatorBuffer : public LLRefCount
 	LL_FORCE_INLINE static ACCUMULATOR* getPrimaryStorage() 
 	{ 
 		ACCUMULATOR* accumulator = LLThreadLocalSingletonPointer<ACCUMULATOR>::getInstance();
-		return accumulator ? accumulator : sDefaultBuffer->mStorage;
+		return accumulator ? accumulator : getDefaultBuffer()->mStorage;
 	}
 
 	// NOTE: this is not thread-safe.  We assume that slots are reserved in the main thread before any child threads are spawned