mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
This commit is contained in:
parent
5acc9729dd
commit
6a1cef6f9a
@ -491,7 +491,7 @@ nsDOMImplementation::Init(nsIURI* aBaseURI)
|
||||
// =
|
||||
// ==================================================================
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDocumentChildNodes);
|
||||
MOZ_DECL_CTOR_COUNTER(nsDocumentChildNodes)
|
||||
|
||||
nsDocumentChildNodes::nsDocumentChildNodes(nsIDocument* aDocument)
|
||||
{
|
||||
@ -549,7 +549,7 @@ nsDocumentChildNodes::DropReference()
|
||||
// =
|
||||
// ==================================================================
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAnonymousContentList);
|
||||
MOZ_DECL_CTOR_COUNTER(nsAnonymousContentList)
|
||||
|
||||
nsAnonymousContentList::nsAnonymousContentList(nsISupportsArray* aElements)
|
||||
{
|
||||
|
@ -1528,7 +1528,7 @@ StyleSetImpl::PrintTimer(PRUint32 aTimerID)
|
||||
// this is a comprimise between a sorted-list based lookup and a hash-type
|
||||
// lookup which is not possible due to non-guaranteed-unique keys.
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(StyleContextCache);
|
||||
MOZ_DECL_CTOR_COUNTER(StyleContextCache)
|
||||
|
||||
StyleContextCache::StyleContextCache(void)
|
||||
:mHashTable(nsnull, nsnull, HashTableEnumDestroy, nsnull),
|
||||
|
@ -127,7 +127,7 @@ protected:
|
||||
nsIHTMLContent *mContent;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDOMCSSAttributeDeclaration);
|
||||
MOZ_DECL_CTOR_COUNTER(nsDOMCSSAttributeDeclaration)
|
||||
|
||||
nsDOMCSSAttributeDeclaration::nsDOMCSSAttributeDeclaration(nsIHTMLContent *aContent)
|
||||
{
|
||||
|
@ -1194,7 +1194,7 @@ MakeContentObject(nsHTMLTag aNodeType,
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(SinkContext);
|
||||
MOZ_DECL_CTOR_COUNTER(SinkContext)
|
||||
|
||||
SinkContext::SinkContext(HTMLContentSink* aSink)
|
||||
{
|
||||
|
@ -63,7 +63,7 @@ static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CI
|
||||
|
||||
class CSSLoaderImpl;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(URLKey);
|
||||
MOZ_DECL_CTOR_COUNTER(URLKey)
|
||||
|
||||
class URLKey: public nsHashKey {
|
||||
public:
|
||||
@ -174,7 +174,7 @@ public:
|
||||
|
||||
NS_IMPL_ISUPPORTS1(SheetLoadData, nsIStreamLoaderObserver);
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(PendingSheetData);
|
||||
MOZ_DECL_CTOR_COUNTER(PendingSheetData)
|
||||
|
||||
struct PendingSheetData {
|
||||
PendingSheetData(nsICSSStyleSheet* aSheet, PRInt32 aDocIndex,
|
||||
|
@ -59,7 +59,7 @@
|
||||
|
||||
//#define ENABLE_COUNTERS // un-comment this to enable counters (bug 15174)
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(SelectorList);
|
||||
MOZ_DECL_CTOR_COUNTER(SelectorList)
|
||||
|
||||
// e.g. "P B, H1 B { ... }" has a selector list with two elements,
|
||||
// each of which has two selectors.
|
||||
|
@ -158,7 +158,7 @@ nsCSSToken::AppendToString(nsString& aBuffer)
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSScanner);
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSScanner)
|
||||
|
||||
nsCSSScanner::nsCSSScanner()
|
||||
{
|
||||
|
@ -86,7 +86,7 @@ static NS_DEFINE_IID(kCSSPageSID, NS_CSS_PAGE_SID);
|
||||
#define NS_IF_DELETE(ptr) \
|
||||
if (nsnull != ptr) { delete ptr; ptr = nsnull; }
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAtomList);
|
||||
MOZ_DECL_CTOR_COUNTER(nsAtomList)
|
||||
|
||||
nsAtomList::nsAtomList(nsIAtom* aAtom)
|
||||
: mAtom(aAtom),
|
||||
@ -136,7 +136,7 @@ PRBool nsAtomList::Equals(const nsAtomList* aOther) const
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAttrSelector);
|
||||
MOZ_DECL_CTOR_COUNTER(nsAttrSelector)
|
||||
|
||||
#ifdef DEBUG_REFS
|
||||
PRUint32 gAttrSelectorCount=0;
|
||||
@ -275,7 +275,7 @@ void nsAttrSelector::SizeOf(nsISizeOfHandler *aSizeOfHandler, PRUint32 &aSize)
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSSelector);
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSSelector)
|
||||
|
||||
#ifdef DEBUG_REFS
|
||||
PRUint32 gSelectorCount=0;
|
||||
@ -907,7 +907,7 @@ protected:
|
||||
nsICSSStyleRule *mRule;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(DOMCSSDeclarationImpl);
|
||||
MOZ_DECL_CTOR_COUNTER(DOMCSSDeclarationImpl)
|
||||
|
||||
DOMCSSDeclarationImpl::DOMCSSDeclarationImpl(nsICSSStyleRule *aRule)
|
||||
{
|
||||
|
@ -1354,7 +1354,7 @@ void CSSStyleSheetImpl::operator delete(void* ptr)
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CSSStyleSheetImpl);
|
||||
MOZ_DECL_CTOR_COUNTER(CSSStyleSheetImpl)
|
||||
|
||||
CSSStyleSheetImpl::CSSStyleSheetImpl()
|
||||
: nsICSSStyleSheet(),
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "nsIStyleSet.h"
|
||||
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(HTMLAttribute);
|
||||
MOZ_DECL_CTOR_COUNTER(HTMLAttribute)
|
||||
|
||||
struct HTMLAttribute {
|
||||
HTMLAttribute(void)
|
||||
@ -231,7 +231,7 @@ struct HTMLAttribute {
|
||||
|
||||
// ----------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsClassList);
|
||||
MOZ_DECL_CTOR_COUNTER(nsClassList)
|
||||
|
||||
struct nsClassList {
|
||||
nsClassList(nsIAtom* aAtom)
|
||||
|
@ -513,7 +513,7 @@ public:
|
||||
} mHash;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(AttributeKey);
|
||||
MOZ_DECL_CTOR_COUNTER(AttributeKey)
|
||||
|
||||
AttributeKey::AttributeKey(nsIHTMLMappedAttributes* aAttributes)
|
||||
: mAttributes(aAttributes)
|
||||
|
@ -660,7 +660,7 @@ si_CompareEncryptedToEncrypted(const nsString& crypt1, const nsString& crypt2) {
|
||||
* Managing Signon List *
|
||||
************************/
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonDataStruct);
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonDataStruct)
|
||||
|
||||
class si_SignonDataStruct {
|
||||
public:
|
||||
@ -677,7 +677,7 @@ public:
|
||||
PRBool isPassword;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonUserStruct);
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonUserStruct)
|
||||
|
||||
class si_SignonUserStruct {
|
||||
public:
|
||||
@ -692,7 +692,7 @@ public:
|
||||
nsVoidArray * signonData_list;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonURLStruct);
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonURLStruct)
|
||||
|
||||
class si_SignonURLStruct {
|
||||
public:
|
||||
@ -709,7 +709,7 @@ public:
|
||||
nsVoidArray * signonUser_list;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(si_Reject);
|
||||
MOZ_DECL_CTOR_COUNTER(si_Reject)
|
||||
|
||||
class si_Reject {
|
||||
public:
|
||||
|
@ -202,7 +202,7 @@ wallet_GetWalletNotificationPref(void) {
|
||||
enum PlacementType {DUP_IGNORE, DUP_OVERWRITE, DUP_BEFORE, DUP_AFTER, AT_END, BY_LENGTH};
|
||||
#define LIST_COUNT(list) ((list) ? (list)->Count() : 0)
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(wallet_Sublist);
|
||||
MOZ_DECL_CTOR_COUNTER(wallet_Sublist)
|
||||
|
||||
class wallet_Sublist {
|
||||
public:
|
||||
@ -225,7 +225,7 @@ public:
|
||||
* item2 is a value. Therefore this generic data structure refers to them simply as
|
||||
* item1 and item2.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(wallet_MapElement);
|
||||
MOZ_DECL_CTOR_COUNTER(wallet_MapElement)
|
||||
|
||||
class wallet_MapElement {
|
||||
public:
|
||||
@ -290,7 +290,7 @@ PRIVATE nsVoidArray * wallet_DistinguishedSchema_list=0;
|
||||
#define NO_CAPTURE 0
|
||||
#define NO_PREVIEW 1
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(wallet_PrefillElement);
|
||||
MOZ_DECL_CTOR_COUNTER(wallet_PrefillElement)
|
||||
|
||||
class wallet_PrefillElement {
|
||||
public:
|
||||
@ -3753,7 +3753,7 @@ WLLT_RequestToCapture(nsIPresShell* shell, nsIDOMWindowInternal* win, PRUint32*
|
||||
Recycle(message);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonDataStruct);
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonDataStruct)
|
||||
|
||||
/* should move this to an include file */
|
||||
class si_SignonDataStruct {
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "nsToken.h"
|
||||
#include "prenv.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CParserContext);
|
||||
MOZ_DECL_CTOR_COUNTER(CParserContext)
|
||||
|
||||
/**
|
||||
* Your friendly little constructor. Ok, it's not the friendly, but the only guy
|
||||
|
@ -30,11 +30,11 @@
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsIServiceManager.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsEntryStack);
|
||||
MOZ_DECL_CTOR_COUNTER(nsDTDContext);
|
||||
MOZ_DECL_CTOR_COUNTER(nsTokenAllocator);
|
||||
MOZ_DECL_CTOR_COUNTER(CNodeRecycler);
|
||||
MOZ_DECL_CTOR_COUNTER(CObserverService);
|
||||
MOZ_DECL_CTOR_COUNTER(nsEntryStack)
|
||||
MOZ_DECL_CTOR_COUNTER(nsDTDContext)
|
||||
MOZ_DECL_CTOR_COUNTER(nsTokenAllocator)
|
||||
MOZ_DECL_CTOR_COUNTER(CNodeRecycler)
|
||||
MOZ_DECL_CTOR_COUNTER(CObserverService)
|
||||
|
||||
|
||||
/**************************************************************************************
|
||||
|
@ -69,7 +69,7 @@ const int kBufsize=1;
|
||||
const int kBufsize=64;
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsScanner);
|
||||
MOZ_DECL_CTOR_COUNTER(nsScanner)
|
||||
|
||||
/**
|
||||
* Use this constructor if you want i/o to be based on
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
|
||||
#ifdef MATCH_CTOR_DTOR
|
||||
MOZ_DECL_CTOR_COUNTER(CToken);
|
||||
MOZ_DECL_CTOR_COUNTER(CToken)
|
||||
#endif
|
||||
|
||||
static int TokenCount=0;
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "nsToken.h"
|
||||
#include "nsIParser.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CTokenHandler);
|
||||
MOZ_DECL_CTOR_COUNTER(CTokenHandler)
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -90,7 +90,7 @@ public:
|
||||
nsAutoString mTitle;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsMenuEntry);
|
||||
MOZ_DECL_CTOR_COUNTER(nsMenuEntry)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Class nsCharsetMenu [declaration]
|
||||
|
@ -114,7 +114,7 @@ protected:
|
||||
PLHashTable* mTable;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(UndisplayedNode);
|
||||
MOZ_DECL_CTOR_COUNTER(UndisplayedNode)
|
||||
|
||||
class UndisplayedNode {
|
||||
public:
|
||||
@ -2158,7 +2158,7 @@ CompareKeys(void* key1, void* key2)
|
||||
return key1 == key2;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(FrameHashTable);
|
||||
MOZ_DECL_CTOR_COUNTER(FrameHashTable)
|
||||
|
||||
FrameHashTable::FrameHashTable(PRUint32 aNumBuckets)
|
||||
{
|
||||
@ -2436,7 +2436,7 @@ FrameManager::GetInsertionPoint(nsIPresShell* aShell, nsIFrame* aParent, nsIFram
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(UndisplayedMap);
|
||||
MOZ_DECL_CTOR_COUNTER(UndisplayedMap)
|
||||
|
||||
UndisplayedMap::UndisplayedMap(PRUint32 aNumBuckets)
|
||||
{
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "nsHashtable.h"
|
||||
#include "nsIStatefulFrame.h" // Get StateType enum
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(HistoryKey);
|
||||
MOZ_DECL_CTOR_COUNTER(HistoryKey)
|
||||
|
||||
class HistoryKey: public nsVoidKey {
|
||||
public:
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
static const PRUint32 kGrowArrayBy = 10;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsStyleChangeList);
|
||||
MOZ_DECL_CTOR_COUNTER(nsStyleChangeList)
|
||||
|
||||
nsStyleChangeList::nsStyleChangeList(void)
|
||||
: mArray(mBuffer),
|
||||
|
@ -491,7 +491,7 @@ nsDOMImplementation::Init(nsIURI* aBaseURI)
|
||||
// =
|
||||
// ==================================================================
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDocumentChildNodes);
|
||||
MOZ_DECL_CTOR_COUNTER(nsDocumentChildNodes)
|
||||
|
||||
nsDocumentChildNodes::nsDocumentChildNodes(nsIDocument* aDocument)
|
||||
{
|
||||
@ -549,7 +549,7 @@ nsDocumentChildNodes::DropReference()
|
||||
// =
|
||||
// ==================================================================
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAnonymousContentList);
|
||||
MOZ_DECL_CTOR_COUNTER(nsAnonymousContentList)
|
||||
|
||||
nsAnonymousContentList::nsAnonymousContentList(nsISupportsArray* aElements)
|
||||
{
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "nsHashtable.h"
|
||||
#include "nsIStatefulFrame.h" // Get StateType enum
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(HistoryKey);
|
||||
MOZ_DECL_CTOR_COUNTER(HistoryKey)
|
||||
|
||||
class HistoryKey: public nsVoidKey {
|
||||
public:
|
||||
|
@ -1028,7 +1028,7 @@ nsSpaceManager::DestroyFrameInfo(FrameInfo* aFrameInfo)
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// FrameInfo
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsSpaceManager::FrameInfo);
|
||||
MOZ_DECL_CTOR_COUNTER(nsSpaceManager::FrameInfo)
|
||||
|
||||
nsSpaceManager::FrameInfo::FrameInfo(nsIFrame* aFrame, const nsRect& aRect)
|
||||
: mFrame(aFrame), mRect(aRect), mNext(0)
|
||||
@ -1046,7 +1046,7 @@ nsSpaceManager::FrameInfo::~FrameInfo()
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// BandRect
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(BandRect);
|
||||
MOZ_DECL_CTOR_COUNTER(BandRect)
|
||||
|
||||
nsSpaceManager::BandRect::BandRect(nscoord aLeft,
|
||||
nscoord aTop,
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
static const PRUint32 kGrowArrayBy = 10;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsStyleChangeList);
|
||||
MOZ_DECL_CTOR_COUNTER(nsStyleChangeList)
|
||||
|
||||
nsStyleChangeList::nsStyleChangeList(void)
|
||||
: mArray(mBuffer),
|
||||
|
@ -1528,7 +1528,7 @@ StyleSetImpl::PrintTimer(PRUint32 aTimerID)
|
||||
// this is a comprimise between a sorted-list based lookup and a hash-type
|
||||
// lookup which is not possible due to non-guaranteed-unique keys.
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(StyleContextCache);
|
||||
MOZ_DECL_CTOR_COUNTER(StyleContextCache)
|
||||
|
||||
StyleContextCache::StyleContextCache(void)
|
||||
:mHashTable(nsnull, nsnull, HashTableEnumDestroy, nsnull),
|
||||
|
@ -32,7 +32,7 @@
|
||||
#define HOVER "hover"
|
||||
#define FOCUS "focus"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsButtonFrameRenderer);
|
||||
MOZ_DECL_CTOR_COUNTER(nsButtonFrameRenderer)
|
||||
|
||||
nsButtonFrameRenderer::nsButtonFrameRenderer()
|
||||
{
|
||||
|
@ -80,7 +80,7 @@ static NS_DEFINE_IID(kViewCID, NS_VIEW_CID);
|
||||
|
||||
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFormControlHelper);
|
||||
MOZ_DECL_CTOR_COUNTER(nsFormControlHelper)
|
||||
|
||||
nsFormControlHelper::nsFormControlHelper()
|
||||
{
|
||||
|
@ -197,7 +197,7 @@ NS_NewEmptyFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFrame);
|
||||
MOZ_DECL_CTOR_COUNTER(nsFrame)
|
||||
|
||||
// Overloaded new operator. Initializes the memory to 0 and relies on an arena
|
||||
// (which comes from the presShell) to perform the allocation.
|
||||
|
@ -83,7 +83,7 @@ public:
|
||||
PRBool mHasFocus;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(Area);
|
||||
MOZ_DECL_CTOR_COUNTER(Area)
|
||||
|
||||
Area::Area(nsIContent* aArea,
|
||||
PRBool aSuppress, PRBool aHasURL)
|
||||
|
@ -36,7 +36,7 @@ static PRInt32 ctorCount;
|
||||
PRInt32 nsLineBox::GetCtorCount() { return ctorCount; }
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsLineBox);
|
||||
MOZ_DECL_CTOR_COUNTER(nsLineBox)
|
||||
|
||||
nsLineBox::nsLineBox(nsIFrame* aFrame, PRInt32 aCount, PRBool aIsBlock)
|
||||
: mFirstChild(aFrame),
|
||||
@ -903,7 +903,7 @@ nsFloaterCacheFreeList::Append(nsFloaterCache* aFloater)
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFloaterCache);
|
||||
MOZ_DECL_CTOR_COUNTER(nsFloaterCache)
|
||||
|
||||
nsFloaterCache::nsFloaterCache()
|
||||
: mPlaceholder(nsnull),
|
||||
|
@ -71,7 +71,7 @@
|
||||
#define PLACED_LEFT 0x1
|
||||
#define PLACED_RIGHT 0x2
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsLineLayout);
|
||||
MOZ_DECL_CTOR_COUNTER(nsLineLayout)
|
||||
|
||||
nsLineLayout::nsLineLayout(nsIPresContext* aPresContext,
|
||||
nsISpaceManager* aSpaceManager,
|
||||
|
@ -1028,7 +1028,7 @@ nsSpaceManager::DestroyFrameInfo(FrameInfo* aFrameInfo)
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// FrameInfo
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsSpaceManager::FrameInfo);
|
||||
MOZ_DECL_CTOR_COUNTER(nsSpaceManager::FrameInfo)
|
||||
|
||||
nsSpaceManager::FrameInfo::FrameInfo(nsIFrame* aFrame, const nsRect& aRect)
|
||||
: mFrame(aFrame), mRect(aRect), mNext(0)
|
||||
@ -1046,7 +1046,7 @@ nsSpaceManager::FrameInfo::~FrameInfo()
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// BandRect
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(BandRect);
|
||||
MOZ_DECL_CTOR_COUNTER(BandRect)
|
||||
|
||||
nsSpaceManager::BandRect::BandRect(nscoord aLeft,
|
||||
nscoord aTop,
|
||||
|
@ -113,7 +113,7 @@ nsTextTransformer::Shutdown()
|
||||
|
||||
#define MAX_UNIBYTE 127
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsTextTransformer);
|
||||
MOZ_DECL_CTOR_COUNTER(nsTextTransformer)
|
||||
|
||||
nsTextTransformer::nsTextTransformer(nsILineBreaker* aLineBreaker,
|
||||
nsIWordBreaker* aWordBreaker,
|
||||
|
@ -69,7 +69,7 @@ nsDST::NewMemoryArena(PRUint32 aArenaSize)
|
||||
return new NodeArena(aArenaSize);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(NodeArena);
|
||||
MOZ_DECL_CTOR_COUNTER(NodeArena)
|
||||
|
||||
// Constructor
|
||||
nsDST::NodeArena::NodeArena(PRUint32 aArenaSize)
|
||||
@ -193,7 +193,7 @@ nsDST::NodeArena::NumArenas() const
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Digital search tree for doing a radix-search of pointer-based keys
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDST);
|
||||
MOZ_DECL_CTOR_COUNTER(nsDST)
|
||||
|
||||
// Constructor
|
||||
nsDST::nsDST(NodeArena* aArena, PtrBits aLevelZeroBit)
|
||||
|
@ -197,7 +197,7 @@ NS_NewEmptyFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFrame);
|
||||
MOZ_DECL_CTOR_COUNTER(nsFrame)
|
||||
|
||||
// Overloaded new operator. Initializes the memory to 0 and relies on an arena
|
||||
// (which comes from the presShell) to perform the allocation.
|
||||
|
@ -114,7 +114,7 @@ protected:
|
||||
PLHashTable* mTable;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(UndisplayedNode);
|
||||
MOZ_DECL_CTOR_COUNTER(UndisplayedNode)
|
||||
|
||||
class UndisplayedNode {
|
||||
public:
|
||||
@ -2158,7 +2158,7 @@ CompareKeys(void* key1, void* key2)
|
||||
return key1 == key2;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(FrameHashTable);
|
||||
MOZ_DECL_CTOR_COUNTER(FrameHashTable)
|
||||
|
||||
FrameHashTable::FrameHashTable(PRUint32 aNumBuckets)
|
||||
{
|
||||
@ -2436,7 +2436,7 @@ FrameManager::GetInsertionPoint(nsIPresShell* aShell, nsIFrame* aParent, nsIFram
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(UndisplayedMap);
|
||||
MOZ_DECL_CTOR_COUNTER(UndisplayedMap)
|
||||
|
||||
UndisplayedMap::UndisplayedMap(PRUint32 aNumBuckets)
|
||||
{
|
||||
|
@ -31,7 +31,7 @@
|
||||
#undef NOISY_IMAGE_LOADING
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsHTMLImageLoader);
|
||||
MOZ_DECL_CTOR_COUNTER(nsHTMLImageLoader)
|
||||
|
||||
nsHTMLImageLoader::nsHTMLImageLoader()
|
||||
: mBaseURL(nsnull),
|
||||
|
@ -83,7 +83,7 @@ public:
|
||||
PRBool mHasFocus;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(Area);
|
||||
MOZ_DECL_CTOR_COUNTER(Area)
|
||||
|
||||
Area::Area(nsIContent* aArea,
|
||||
PRBool aSuppress, PRBool aHasURL)
|
||||
|
@ -36,7 +36,7 @@ static PRInt32 ctorCount;
|
||||
PRInt32 nsLineBox::GetCtorCount() { return ctorCount; }
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsLineBox);
|
||||
MOZ_DECL_CTOR_COUNTER(nsLineBox)
|
||||
|
||||
nsLineBox::nsLineBox(nsIFrame* aFrame, PRInt32 aCount, PRBool aIsBlock)
|
||||
: mFirstChild(aFrame),
|
||||
@ -903,7 +903,7 @@ nsFloaterCacheFreeList::Append(nsFloaterCache* aFloater)
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFloaterCache);
|
||||
MOZ_DECL_CTOR_COUNTER(nsFloaterCache)
|
||||
|
||||
nsFloaterCache::nsFloaterCache()
|
||||
: mPlaceholder(nsnull),
|
||||
|
@ -71,7 +71,7 @@
|
||||
#define PLACED_LEFT 0x1
|
||||
#define PLACED_RIGHT 0x2
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsLineLayout);
|
||||
MOZ_DECL_CTOR_COUNTER(nsLineLayout)
|
||||
|
||||
nsLineLayout::nsLineLayout(nsIPresContext* aPresContext,
|
||||
nsISpaceManager* aSpaceManager,
|
||||
|
@ -113,7 +113,7 @@ nsTextTransformer::Shutdown()
|
||||
|
||||
#define MAX_UNIBYTE 127
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsTextTransformer);
|
||||
MOZ_DECL_CTOR_COUNTER(nsTextTransformer)
|
||||
|
||||
nsTextTransformer::nsTextTransformer(nsILineBreaker* aLineBreaker,
|
||||
nsIWordBreaker* aWordBreaker,
|
||||
|
@ -127,7 +127,7 @@ protected:
|
||||
nsIHTMLContent *mContent;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDOMCSSAttributeDeclaration);
|
||||
MOZ_DECL_CTOR_COUNTER(nsDOMCSSAttributeDeclaration)
|
||||
|
||||
nsDOMCSSAttributeDeclaration::nsDOMCSSAttributeDeclaration(nsIHTMLContent *aContent)
|
||||
{
|
||||
|
@ -1194,7 +1194,7 @@ MakeContentObject(nsHTMLTag aNodeType,
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(SinkContext);
|
||||
MOZ_DECL_CTOR_COUNTER(SinkContext)
|
||||
|
||||
SinkContext::SinkContext(HTMLContentSink* aSink)
|
||||
{
|
||||
|
@ -32,7 +32,7 @@
|
||||
#define HOVER "hover"
|
||||
#define FOCUS "focus"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsButtonFrameRenderer);
|
||||
MOZ_DECL_CTOR_COUNTER(nsButtonFrameRenderer)
|
||||
|
||||
nsButtonFrameRenderer::nsButtonFrameRenderer()
|
||||
{
|
||||
|
@ -80,7 +80,7 @@ static NS_DEFINE_IID(kViewCID, NS_VIEW_CID);
|
||||
|
||||
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFormControlHelper);
|
||||
MOZ_DECL_CTOR_COUNTER(nsFormControlHelper)
|
||||
|
||||
nsFormControlHelper::nsFormControlHelper()
|
||||
{
|
||||
|
@ -63,7 +63,7 @@ static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CI
|
||||
|
||||
class CSSLoaderImpl;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(URLKey);
|
||||
MOZ_DECL_CTOR_COUNTER(URLKey)
|
||||
|
||||
class URLKey: public nsHashKey {
|
||||
public:
|
||||
@ -174,7 +174,7 @@ public:
|
||||
|
||||
NS_IMPL_ISUPPORTS1(SheetLoadData, nsIStreamLoaderObserver);
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(PendingSheetData);
|
||||
MOZ_DECL_CTOR_COUNTER(PendingSheetData)
|
||||
|
||||
struct PendingSheetData {
|
||||
PendingSheetData(nsICSSStyleSheet* aSheet, PRInt32 aDocIndex,
|
||||
|
@ -59,7 +59,7 @@
|
||||
|
||||
//#define ENABLE_COUNTERS // un-comment this to enable counters (bug 15174)
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(SelectorList);
|
||||
MOZ_DECL_CTOR_COUNTER(SelectorList)
|
||||
|
||||
// e.g. "P B, H1 B { ... }" has a selector list with two elements,
|
||||
// each of which has two selectors.
|
||||
|
@ -158,7 +158,7 @@ nsCSSToken::AppendToString(nsString& aBuffer)
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSScanner);
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSScanner)
|
||||
|
||||
nsCSSScanner::nsCSSScanner()
|
||||
{
|
||||
|
@ -86,7 +86,7 @@ static NS_DEFINE_IID(kCSSPageSID, NS_CSS_PAGE_SID);
|
||||
#define NS_IF_DELETE(ptr) \
|
||||
if (nsnull != ptr) { delete ptr; ptr = nsnull; }
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAtomList);
|
||||
MOZ_DECL_CTOR_COUNTER(nsAtomList)
|
||||
|
||||
nsAtomList::nsAtomList(nsIAtom* aAtom)
|
||||
: mAtom(aAtom),
|
||||
@ -136,7 +136,7 @@ PRBool nsAtomList::Equals(const nsAtomList* aOther) const
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAttrSelector);
|
||||
MOZ_DECL_CTOR_COUNTER(nsAttrSelector)
|
||||
|
||||
#ifdef DEBUG_REFS
|
||||
PRUint32 gAttrSelectorCount=0;
|
||||
@ -275,7 +275,7 @@ void nsAttrSelector::SizeOf(nsISizeOfHandler *aSizeOfHandler, PRUint32 &aSize)
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSSelector);
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSSelector)
|
||||
|
||||
#ifdef DEBUG_REFS
|
||||
PRUint32 gSelectorCount=0;
|
||||
@ -907,7 +907,7 @@ protected:
|
||||
nsICSSStyleRule *mRule;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(DOMCSSDeclarationImpl);
|
||||
MOZ_DECL_CTOR_COUNTER(DOMCSSDeclarationImpl)
|
||||
|
||||
DOMCSSDeclarationImpl::DOMCSSDeclarationImpl(nsICSSStyleRule *aRule)
|
||||
{
|
||||
|
@ -1354,7 +1354,7 @@ void CSSStyleSheetImpl::operator delete(void* ptr)
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CSSStyleSheetImpl);
|
||||
MOZ_DECL_CTOR_COUNTER(CSSStyleSheetImpl)
|
||||
|
||||
CSSStyleSheetImpl::CSSStyleSheetImpl()
|
||||
: nsICSSStyleSheet(),
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "nsIStyleSet.h"
|
||||
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(HTMLAttribute);
|
||||
MOZ_DECL_CTOR_COUNTER(HTMLAttribute)
|
||||
|
||||
struct HTMLAttribute {
|
||||
HTMLAttribute(void)
|
||||
@ -231,7 +231,7 @@ struct HTMLAttribute {
|
||||
|
||||
// ----------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsClassList);
|
||||
MOZ_DECL_CTOR_COUNTER(nsClassList)
|
||||
|
||||
struct nsClassList {
|
||||
nsClassList(nsIAtom* aAtom)
|
||||
|
@ -513,7 +513,7 @@ public:
|
||||
} mHash;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(AttributeKey);
|
||||
MOZ_DECL_CTOR_COUNTER(AttributeKey)
|
||||
|
||||
AttributeKey::AttributeKey(nsIHTMLMappedAttributes* aAttributes)
|
||||
: mAttributes(aAttributes)
|
||||
|
@ -69,7 +69,7 @@ PRBool CanAllocate(PRInt32 aType,
|
||||
|
||||
/* ---------- BasicTableLayoutStrategy ---------- */
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(BasicTableLayoutStrategy);
|
||||
MOZ_DECL_CTOR_COUNTER(BasicTableLayoutStrategy)
|
||||
|
||||
|
||||
BasicTableLayoutStrategy::BasicTableLayoutStrategy(nsTableFrame *aFrame, PRBool aIsNavQuirks)
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
// CellData
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CellData);
|
||||
MOZ_DECL_CTOR_COUNTER(CellData)
|
||||
|
||||
CellData::CellData(nsTableCellFrame* aOrigCell)
|
||||
{
|
||||
@ -45,7 +45,7 @@ CellData::~CellData()
|
||||
MOZ_COUNT_DTOR(CellData);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCellMap);
|
||||
MOZ_DECL_CTOR_COUNTER(nsCellMap)
|
||||
|
||||
// nsTableCellMap
|
||||
|
||||
|
@ -63,7 +63,7 @@ static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CI
|
||||
|
||||
class CSSLoaderImpl;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(URLKey);
|
||||
MOZ_DECL_CTOR_COUNTER(URLKey)
|
||||
|
||||
class URLKey: public nsHashKey {
|
||||
public:
|
||||
@ -174,7 +174,7 @@ public:
|
||||
|
||||
NS_IMPL_ISUPPORTS1(SheetLoadData, nsIStreamLoaderObserver);
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(PendingSheetData);
|
||||
MOZ_DECL_CTOR_COUNTER(PendingSheetData)
|
||||
|
||||
struct PendingSheetData {
|
||||
PendingSheetData(nsICSSStyleSheet* aSheet, PRInt32 aDocIndex,
|
||||
|
@ -59,7 +59,7 @@
|
||||
|
||||
//#define ENABLE_COUNTERS // un-comment this to enable counters (bug 15174)
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(SelectorList);
|
||||
MOZ_DECL_CTOR_COUNTER(SelectorList)
|
||||
|
||||
// e.g. "P B, H1 B { ... }" has a selector list with two elements,
|
||||
// each of which has two selectors.
|
||||
|
@ -158,7 +158,7 @@ nsCSSToken::AppendToString(nsString& aBuffer)
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSScanner);
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSScanner)
|
||||
|
||||
nsCSSScanner::nsCSSScanner()
|
||||
{
|
||||
|
@ -86,7 +86,7 @@ static NS_DEFINE_IID(kCSSPageSID, NS_CSS_PAGE_SID);
|
||||
#define NS_IF_DELETE(ptr) \
|
||||
if (nsnull != ptr) { delete ptr; ptr = nsnull; }
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAtomList);
|
||||
MOZ_DECL_CTOR_COUNTER(nsAtomList)
|
||||
|
||||
nsAtomList::nsAtomList(nsIAtom* aAtom)
|
||||
: mAtom(aAtom),
|
||||
@ -136,7 +136,7 @@ PRBool nsAtomList::Equals(const nsAtomList* aOther) const
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAttrSelector);
|
||||
MOZ_DECL_CTOR_COUNTER(nsAttrSelector)
|
||||
|
||||
#ifdef DEBUG_REFS
|
||||
PRUint32 gAttrSelectorCount=0;
|
||||
@ -275,7 +275,7 @@ void nsAttrSelector::SizeOf(nsISizeOfHandler *aSizeOfHandler, PRUint32 &aSize)
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSSelector);
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSSelector)
|
||||
|
||||
#ifdef DEBUG_REFS
|
||||
PRUint32 gSelectorCount=0;
|
||||
@ -907,7 +907,7 @@ protected:
|
||||
nsICSSStyleRule *mRule;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(DOMCSSDeclarationImpl);
|
||||
MOZ_DECL_CTOR_COUNTER(DOMCSSDeclarationImpl)
|
||||
|
||||
DOMCSSDeclarationImpl::DOMCSSDeclarationImpl(nsICSSStyleRule *aRule)
|
||||
{
|
||||
|
@ -1354,7 +1354,7 @@ void CSSStyleSheetImpl::operator delete(void* ptr)
|
||||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CSSStyleSheetImpl);
|
||||
MOZ_DECL_CTOR_COUNTER(CSSStyleSheetImpl)
|
||||
|
||||
CSSStyleSheetImpl::CSSStyleSheetImpl()
|
||||
: nsICSSStyleSheet(),
|
||||
|
@ -513,7 +513,7 @@ public:
|
||||
} mHash;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(AttributeKey);
|
||||
MOZ_DECL_CTOR_COUNTER(AttributeKey)
|
||||
|
||||
AttributeKey::AttributeKey(nsIHTMLMappedAttributes* aAttributes)
|
||||
: mAttributes(aAttributes)
|
||||
|
@ -1528,7 +1528,7 @@ StyleSetImpl::PrintTimer(PRUint32 aTimerID)
|
||||
// this is a comprimise between a sorted-list based lookup and a hash-type
|
||||
// lookup which is not possible due to non-guaranteed-unique keys.
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(StyleContextCache);
|
||||
MOZ_DECL_CTOR_COUNTER(StyleContextCache)
|
||||
|
||||
StyleContextCache::StyleContextCache(void)
|
||||
:mHashTable(nsnull, nsnull, HashTableEnumDestroy, nsnull),
|
||||
|
@ -69,7 +69,7 @@ PRBool CanAllocate(PRInt32 aType,
|
||||
|
||||
/* ---------- BasicTableLayoutStrategy ---------- */
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(BasicTableLayoutStrategy);
|
||||
MOZ_DECL_CTOR_COUNTER(BasicTableLayoutStrategy)
|
||||
|
||||
|
||||
BasicTableLayoutStrategy::BasicTableLayoutStrategy(nsTableFrame *aFrame, PRBool aIsNavQuirks)
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
// CellData
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CellData);
|
||||
MOZ_DECL_CTOR_COUNTER(CellData)
|
||||
|
||||
CellData::CellData(nsTableCellFrame* aOrigCell)
|
||||
{
|
||||
@ -45,7 +45,7 @@ CellData::~CellData()
|
||||
MOZ_COUNT_DTOR(CellData);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCellMap);
|
||||
MOZ_DECL_CTOR_COUNTER(nsCellMap)
|
||||
|
||||
// nsTableCellMap
|
||||
|
||||
|
@ -214,7 +214,7 @@ nsCSecurityContext::GetCertificateID(char* buf, int buflen)
|
||||
// from nsCSecurityContext:
|
||||
extern PRUintn tlsIndex3_g;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSecurityContext);
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSecurityContext)
|
||||
|
||||
nsCSecurityContext::nsCSecurityContext(JSContext* cx)
|
||||
: m_pJStoJavaFrame(NULL), m_pJSCX(cx),
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAuthEngine);
|
||||
MOZ_DECL_CTOR_COUNTER(nsAuthEngine)
|
||||
|
||||
nsAuthEngine::nsAuthEngine()
|
||||
{
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "nsToken.h"
|
||||
#include "prenv.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CParserContext);
|
||||
MOZ_DECL_CTOR_COUNTER(CParserContext)
|
||||
|
||||
/**
|
||||
* Your friendly little constructor. Ok, it's not the friendly, but the only guy
|
||||
|
@ -30,11 +30,11 @@
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsIServiceManager.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsEntryStack);
|
||||
MOZ_DECL_CTOR_COUNTER(nsDTDContext);
|
||||
MOZ_DECL_CTOR_COUNTER(nsTokenAllocator);
|
||||
MOZ_DECL_CTOR_COUNTER(CNodeRecycler);
|
||||
MOZ_DECL_CTOR_COUNTER(CObserverService);
|
||||
MOZ_DECL_CTOR_COUNTER(nsEntryStack)
|
||||
MOZ_DECL_CTOR_COUNTER(nsDTDContext)
|
||||
MOZ_DECL_CTOR_COUNTER(nsTokenAllocator)
|
||||
MOZ_DECL_CTOR_COUNTER(CNodeRecycler)
|
||||
MOZ_DECL_CTOR_COUNTER(CObserverService)
|
||||
|
||||
|
||||
/**************************************************************************************
|
||||
|
@ -69,7 +69,7 @@ const int kBufsize=1;
|
||||
const int kBufsize=64;
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsScanner);
|
||||
MOZ_DECL_CTOR_COUNTER(nsScanner)
|
||||
|
||||
/**
|
||||
* Use this constructor if you want i/o to be based on
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
|
||||
#ifdef MATCH_CTOR_DTOR
|
||||
MOZ_DECL_CTOR_COUNTER(CToken);
|
||||
MOZ_DECL_CTOR_COUNTER(CToken)
|
||||
#endif
|
||||
|
||||
static int TokenCount=0;
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "nsToken.h"
|
||||
#include "nsIParser.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CTokenHandler);
|
||||
MOZ_DECL_CTOR_COUNTER(CTokenHandler)
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -143,7 +143,7 @@ typedef enum {
|
||||
eRDFContentSinkState_InEpilog
|
||||
} RDFContentSinkState;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(RDFContentSinkImpl::NameSpaceEntry);
|
||||
MOZ_DECL_CTOR_COUNTER(RDFContentSinkImpl::NameSpaceEntry)
|
||||
|
||||
class RDFContentSinkImpl : public nsIRDFContentSink
|
||||
{
|
||||
|
@ -207,7 +207,7 @@ nsCID_Destroy(nsHashKey *aKey, void *aData, void* closure);
|
||||
// nsFactoryEntry
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFactoryEntry);
|
||||
MOZ_DECL_CTOR_COUNTER(nsFactoryEntry)
|
||||
|
||||
nsFactoryEntry::nsFactoryEntry(const nsCID &aClass,
|
||||
const char *aLocation,
|
||||
|
@ -197,7 +197,7 @@ static PRIntn PR_CALLBACK _hashEnumerate(PLHashEntry *he, PRIntn i, void *arg)
|
||||
// HashKey
|
||||
//
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsHashKey);
|
||||
MOZ_DECL_CTOR_COUNTER(nsHashKey)
|
||||
|
||||
nsHashKey::nsHashKey(void)
|
||||
{
|
||||
@ -212,7 +212,7 @@ nsHashKey::~nsHashKey(void)
|
||||
MOZ_COUNT_DTOR(nsHashKey);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsHashtable);
|
||||
MOZ_DECL_CTOR_COUNTER(nsHashtable)
|
||||
|
||||
nsHashtable::nsHashtable(PRUint32 aInitSize, PRBool threadSafe)
|
||||
: mLock(NULL), mEnumerating(PR_FALSE)
|
||||
|
@ -65,7 +65,7 @@ public:
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(SizeOfDataStats);
|
||||
MOZ_DECL_CTOR_COUNTER(SizeOfDataStats)
|
||||
|
||||
SizeOfDataStats::SizeOfDataStats(nsIAtom* aType, PRUint32 aSize)
|
||||
: mType(aType),
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "xptiprivate.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(xptiFile);
|
||||
MOZ_DECL_CTOR_COUNTER(xptiFile)
|
||||
|
||||
xptiFile::xptiFile()
|
||||
: mSize(),
|
||||
|
@ -54,7 +54,7 @@ xptiFileType::Type xptiFileType::GetType(const char* name)
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(xptiAutoLog);
|
||||
MOZ_DECL_CTOR_COUNTER(xptiAutoLog)
|
||||
|
||||
xptiAutoLog::xptiAutoLog(xptiInterfaceInfoManager* mgr,
|
||||
nsILocalFile* logfile, PRBool append)
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "xptiprivate.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(xptiTypelibGuts);
|
||||
MOZ_DECL_CTOR_COUNTER(xptiTypelibGuts)
|
||||
|
||||
xptiTypelibGuts::xptiTypelibGuts(XPTHeader* aHeader)
|
||||
: mHeader(aHeader),
|
||||
|
@ -40,7 +40,7 @@ xpti_CompareIIDs(const void *v1, const void *v2)
|
||||
return (PRIntn) ((const nsID*)v1)->Equals(*((const nsID*)v2));
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(xptiWorkingSet);
|
||||
MOZ_DECL_CTOR_COUNTER(xptiWorkingSet)
|
||||
|
||||
xptiWorkingSet::xptiWorkingSet()
|
||||
: mFileCount(0),
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "xptiprivate.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(xptiZipItem);
|
||||
MOZ_DECL_CTOR_COUNTER(xptiZipItem)
|
||||
|
||||
xptiZipItem::xptiZipItem()
|
||||
: mName(nsnull),
|
||||
|
@ -36,7 +36,7 @@
|
||||
* Constructors/Destructor
|
||||
*----------------------------------------------------------------------*/
|
||||
#ifdef MOZILLA_CLIENT
|
||||
MOZ_DECL_CTOR_COUNTER(nsAppleSingleDecoder);
|
||||
MOZ_DECL_CTOR_COUNTER(nsAppleSingleDecoder)
|
||||
#endif
|
||||
|
||||
nsAppleSingleDecoder::nsAppleSingleDecoder(FSSpec *inSpec, FSSpec *outSpec)
|
||||
|
@ -89,7 +89,7 @@ static NS_DEFINE_CID(kCommonDialogsCID, NS_CommonDialog_CID);
|
||||
static NS_DEFINE_CID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
|
||||
static NS_DEFINE_IID(kIStringBundleServiceIID, NS_ISTRINGBUNDLESERVICE_IID);
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallInfo);
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallInfo)
|
||||
|
||||
nsInstallInfo::nsInstallInfo(PRUint32 aInstallType,
|
||||
nsIFile* aFile,
|
||||
@ -126,7 +126,7 @@ static NS_DEFINE_IID(kSoftwareUpdateCID, NS_SoftwareUpdate_CID);
|
||||
static NS_DEFINE_IID(kIZipReaderIID, NS_IZIPREADER_IID);
|
||||
static NS_DEFINE_IID(kZipReaderCID, NS_ZIPREADER_CID);
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstall);
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstall)
|
||||
|
||||
nsInstall::nsInstall(nsIZipReader * theJARFile)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "nsInstall.h"
|
||||
#include "nsIDOMInstallVersion.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallDelete);
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallDelete)
|
||||
|
||||
nsInstallDelete::nsInstallDelete( nsInstall* inInstall,
|
||||
nsInstallFolder* folderSpec,
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
static NS_DEFINE_CID(kIProcessCID, NS_PROCESS_CID);
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallExecute);
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallExecute)
|
||||
|
||||
nsInstallExecute:: nsInstallExecute( nsInstall* inInstall,
|
||||
const nsString& inJarLocation,
|
||||
|
@ -44,7 +44,7 @@
|
||||
inFinalFileSpec - final location on disk
|
||||
*/
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallFile);
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallFile)
|
||||
|
||||
nsInstallFile::nsInstallFile(nsInstall* inInstall,
|
||||
const nsString& inComponentName,
|
||||
|
@ -46,7 +46,7 @@ static NS_DEFINE_CID(kIProcessCID, NS_PROCESS_CID);
|
||||
|
||||
/* Public Methods */
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallFileOpItem);
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallFileOpItem)
|
||||
|
||||
nsInstallFileOpItem::nsInstallFileOpItem(nsInstall* aInstallObj,
|
||||
PRInt32 aCommand,
|
||||
|
@ -87,7 +87,7 @@ struct DirectoryTable DirectoryTable[] =
|
||||
};
|
||||
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallFolder);
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallFolder)
|
||||
|
||||
nsInstallFolder::nsInstallFolder()
|
||||
{
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include "nsInstall.h"
|
||||
#include "nsIDOMInstallVersion.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallLogComment);
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallLogComment)
|
||||
|
||||
nsInstallLogComment::nsInstallLogComment( nsInstall* inInstall,
|
||||
const nsString& inFileOpCommand,
|
||||
|
@ -66,7 +66,7 @@ static int32 gdiff_validateFile( pDIFFDATA dd, int file );
|
||||
static PRBool su_unbind(char* oldsrc, char* newsrc);
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallPatch);
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallPatch)
|
||||
|
||||
nsInstallPatch::nsInstallPatch( nsInstall* inInstall,
|
||||
const nsString& inVRName,
|
||||
|
@ -34,7 +34,7 @@
|
||||
extern "C" NS_EXPORT PRInt32 SU_Uninstall(char *regPackageName);
|
||||
REGERR su_UninstallProcessItem(char *component_path);
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallUninstall);
|
||||
MOZ_DECL_CTOR_COUNTER(nsInstallUninstall)
|
||||
|
||||
nsInstallUninstall::nsInstallUninstall( nsInstall* inInstall,
|
||||
const nsString& regName,
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "nsIDirectoryService.h"
|
||||
#include "nsDirectoryServiceDefs.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsRegisterItem);
|
||||
MOZ_DECL_CTOR_COUNTER(nsRegisterItem)
|
||||
|
||||
nsRegisterItem:: nsRegisterItem( nsInstall* inInstall,
|
||||
nsIFile* chrome,
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
/* Public Methods */
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsWinProfile);
|
||||
MOZ_DECL_CTOR_COUNTER(nsWinProfile)
|
||||
|
||||
nsWinProfile::nsWinProfile( nsInstall* suObj, const nsString& folder, const nsString& file )
|
||||
{
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
/* Public Methods */
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsWinProfileItem);
|
||||
MOZ_DECL_CTOR_COUNTER(nsWinProfileItem)
|
||||
|
||||
nsWinProfileItem::nsWinProfileItem(nsWinProfile* profileObj,
|
||||
nsString sectionName,
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
/* Public Methods */
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsWinReg);
|
||||
MOZ_DECL_CTOR_COUNTER(nsWinReg)
|
||||
|
||||
nsWinReg::nsWinReg(nsInstall* suObj)
|
||||
{
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
/* Public Methods */
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsWinRegItem);
|
||||
MOZ_DECL_CTOR_COUNTER(nsWinRegItem)
|
||||
|
||||
nsWinRegItem::nsWinRegItem(nsWinReg* regObj, PRInt32 root, PRInt32 action, const nsString& sub, const nsString& valname, const nsString& val, PRInt32 *aReturn)
|
||||
: nsInstallObject(regObj->InstallObject())
|
||||
|
@ -34,7 +34,7 @@ static NS_DEFINE_IID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
||||
//
|
||||
// nsXPITriggerItem
|
||||
//
|
||||
MOZ_DECL_CTOR_COUNTER(nsXPITriggerItem);
|
||||
MOZ_DECL_CTOR_COUNTER(nsXPITriggerItem)
|
||||
|
||||
nsXPITriggerItem::nsXPITriggerItem( const PRUnichar* aName,
|
||||
const PRUnichar* aURL,
|
||||
@ -77,7 +77,7 @@ PRBool nsXPITriggerItem::IsRelativeURL()
|
||||
// nsXPITriggerInfo
|
||||
//
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXPITriggerInfo);
|
||||
MOZ_DECL_CTOR_COUNTER(nsXPITriggerInfo)
|
||||
|
||||
nsXPITriggerInfo::nsXPITriggerInfo()
|
||||
: mCx(0), mGlobal(JSVAL_NULL), mCbval(JSVAL_NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user