From e3c835ca351ff380379058c056523e5a5336345b Mon Sep 17 00:00:00 2001 From: "asqueella@gmail.com" Date: Sat, 25 Aug 2007 12:26:12 -0700 Subject: [PATCH] Bug 384864 - imgRequest: replace nsVoidArray with nsAutoVoidArray to reduce the number of allocations p=Alfred Kayser r=pavlov, sr=tor, a=pavlov --- modules/libpr0n/src/imgRequest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/libpr0n/src/imgRequest.h b/modules/libpr0n/src/imgRequest.h index 0246a162627..08047333877 100644 --- a/modules/libpr0n/src/imgRequest.h +++ b/modules/libpr0n/src/imgRequest.h @@ -154,7 +154,7 @@ private: nsCOMPtr mDecoder; nsCOMPtr mProperties; - nsVoidArray mObservers; + nsAutoVoidArray mObservers; PRPackedBool mLoading; PRPackedBool mProcessing;