зеркало из https://github.com/mozilla/gecko-dev.git
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
This commit is contained in:
Родитель
e97998b338
Коммит
04b8c33eda
|
@ -717,7 +717,6 @@ nsImageLoadingContent::StringToURI(const nsAString& aSpec,
|
|||
/**
|
||||
* Struct used to dispatch events
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(ImageEvent)
|
||||
|
||||
class ImageEvent : public PLEvent
|
||||
{
|
||||
|
|
|
@ -141,8 +141,6 @@ private:
|
|||
* Struct used to manage the image observers.
|
||||
*/
|
||||
struct ImageObserver {
|
||||
MOZ_DECL_CTOR_COUNTER(ImageObserver)
|
||||
|
||||
ImageObserver(imgIDecoderObserver* aObserver) :
|
||||
mObserver(aObserver),
|
||||
mNext(nsnull)
|
||||
|
|
|
@ -1008,8 +1008,6 @@ MakeContentObject(nsHTMLTag aNodeType, nsINodeInfo *aNodeInfo,
|
|||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(SinkContext)
|
||||
|
||||
SinkContext::SinkContext(HTMLContentSink* aSink)
|
||||
: mSink(aSink),
|
||||
mNotifyLevel(0),
|
||||
|
|
|
@ -104,8 +104,6 @@ private:
|
|||
nsVoidArray* mElements;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAnonymousContentList)
|
||||
|
||||
nsAnonymousContentList::nsAnonymousContentList(nsVoidArray* aElements)
|
||||
: mElements(aElements)
|
||||
{
|
||||
|
|
|
@ -46,8 +46,6 @@
|
|||
|
||||
class nsIXPConnectJSObjectHolder;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXBLProtoImpl)
|
||||
|
||||
class nsXBLProtoImpl
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -47,8 +47,6 @@
|
|||
#include "nsIScriptContext.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXBLProtoImplField)
|
||||
|
||||
nsXBLProtoImplField::nsXBLProtoImplField(const PRUnichar* aName, const PRUnichar* aReadOnly)
|
||||
: nsXBLProtoImplMember(aName),
|
||||
mFieldText(nsnull),
|
||||
|
|
|
@ -52,8 +52,6 @@ class nsIScriptContext;
|
|||
struct JSRuntime;
|
||||
class nsIJSRuntimeService;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXBLTextWithLineNumber)
|
||||
|
||||
struct nsXBLTextWithLineNumber
|
||||
{
|
||||
PRUnichar* mText;
|
||||
|
|
|
@ -51,8 +51,6 @@
|
|||
#include "nsIScriptSecurityManager.h"
|
||||
#include "nsIXPConnect.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXBLProtoImplMethod)
|
||||
|
||||
nsXBLProtoImplMethod::nsXBLProtoImplMethod(const PRUnichar* aName) :
|
||||
nsXBLProtoImplMember(aName),
|
||||
mUncompiledMethod(nsnull)
|
||||
|
|
|
@ -46,8 +46,6 @@
|
|||
#include "nsString.h"
|
||||
#include "nsXBLProtoImplMember.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXBLParameter)
|
||||
|
||||
struct nsXBLParameter {
|
||||
nsXBLParameter* mNext;
|
||||
char* mName;
|
||||
|
@ -65,8 +63,6 @@ struct nsXBLParameter {
|
|||
}
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXBLUncompiledMethod)
|
||||
|
||||
struct nsXBLUncompiledMethod {
|
||||
nsXBLParameter* mParameters;
|
||||
nsXBLParameter* mLastParameter;
|
||||
|
|
|
@ -49,8 +49,6 @@
|
|||
#include "nsIScriptGlobalObject.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXBLProtoImplProperty)
|
||||
|
||||
nsXBLProtoImplProperty::nsXBLProtoImplProperty(const PRUnichar* aName,
|
||||
const PRUnichar* aGetter,
|
||||
const PRUnichar* aSetter,
|
||||
|
|
|
@ -229,8 +229,6 @@ static const PRInt32 kInsInitialSize = (NS_SIZE_IN_HEAP(sizeof(nsXBLInsertionPoi
|
|||
|
||||
// Implementation /////////////////////////////////////////////////////////////////
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXBLPrototypeBinding)
|
||||
|
||||
// Constructors/Destructors
|
||||
nsXBLPrototypeBinding::nsXBLPrototypeBinding()
|
||||
: mImplementation(nsnull),
|
||||
|
|
|
@ -53,8 +53,6 @@
|
|||
|
||||
static NS_DEFINE_CID(kCSSLoaderCID, NS_CSS_LOADER_CID);
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXBLPrototypeResources)
|
||||
|
||||
nsXBLPrototypeResources::nsXBLPrototypeResources(nsXBLPrototypeBinding* aBinding)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsXBLPrototypeResources);
|
||||
|
|
|
@ -51,8 +51,6 @@ class nsXBLPrototypeBinding;
|
|||
// *********************************************************************/
|
||||
// The XBLResourceLoader class
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXBLResource)
|
||||
|
||||
struct nsXBLResource {
|
||||
nsXBLResource* mNext;
|
||||
nsIAtom* mType;
|
||||
|
|
|
@ -110,8 +110,6 @@ static NS_DEFINE_CID(kCSSParserCID, NS_CSSPARSER_CID);
|
|||
|
||||
*/
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXULPrototypeAttribute)
|
||||
|
||||
class nsXULPrototypeAttribute
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -710,11 +710,9 @@ class nsXULFastLoadFileIO : public nsIFastLoadFileIO
|
|||
public:
|
||||
nsXULFastLoadFileIO(nsIFile* aFile)
|
||||
: mFile(aFile) {
|
||||
MOZ_COUNT_CTOR(nsXULFastLoadFileIO);
|
||||
}
|
||||
|
||||
virtual ~nsXULFastLoadFileIO() {
|
||||
MOZ_COUNT_DTOR(nsXULFastLoadFileIO);
|
||||
}
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -727,7 +725,6 @@ class nsXULFastLoadFileIO : public nsIFastLoadFileIO
|
|||
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsXULFastLoadFileIO, nsIFastLoadFileIO)
|
||||
MOZ_DECL_CTOR_COUNTER(nsXULFastLoadFileIO)
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
@ -53,8 +53,6 @@
|
|||
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(DeepTreeStackItem)
|
||||
|
||||
struct DeepTreeStackItem
|
||||
{
|
||||
DeepTreeStackItem() { MOZ_COUNT_CTOR(DeepTreeStackItem); }
|
||||
|
|
|
@ -657,8 +657,6 @@ SecondsFromPRTime(PRTime prTime) {
|
|||
return seconds;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonDataStruct)
|
||||
|
||||
si_SignonDataStruct::si_SignonDataStruct()
|
||||
: isPassword(PR_FALSE)
|
||||
{
|
||||
|
@ -669,8 +667,6 @@ si_SignonDataStruct::~si_SignonDataStruct()
|
|||
MOZ_COUNT_DTOR(si_SignonDataStruct);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonUserStruct)
|
||||
|
||||
class si_SignonUserStruct {
|
||||
public:
|
||||
si_SignonUserStruct()
|
||||
|
@ -688,8 +684,6 @@ public:
|
|||
nsVoidArray signonData_list; // elements are si_SignonDataStruct
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(si_SignonURLStruct)
|
||||
|
||||
class si_SignonURLStruct {
|
||||
public:
|
||||
si_SignonURLStruct() : passwordRealm(NULL), chosen_user(NULL)
|
||||
|
@ -705,8 +699,6 @@ public:
|
|||
nsVoidArray signonUser_list;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(si_Reject)
|
||||
|
||||
class si_Reject {
|
||||
public:
|
||||
si_Reject() : passwordRealm(NULL)
|
||||
|
|
|
@ -165,8 +165,6 @@ wallet_GetEnabledPref(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)
|
||||
|
||||
class wallet_Sublist {
|
||||
public:
|
||||
wallet_Sublist()
|
||||
|
@ -189,7 +187,6 @@ public:
|
|||
* item2 is a value. Therefore this generic data structure refers to them simply as
|
||||
* item1 and item2.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(wallet_MapElement)
|
||||
|
||||
class wallet_MapElement {
|
||||
public:
|
||||
|
@ -224,8 +221,6 @@ public:
|
|||
* only once and left sitting on the heap
|
||||
*/
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(wallet_HelpMac)
|
||||
|
||||
class wallet_HelpMac {
|
||||
public:
|
||||
wallet_HelpMac() {
|
||||
|
@ -253,8 +248,6 @@ static nsVoidArray * wallet_DistinguishedSchema_list = 0;
|
|||
#define NO_CAPTURE(x) x[0]
|
||||
#define NO_PREVIEW(x) x[1]
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(wallet_PrefillElement)
|
||||
|
||||
class wallet_PrefillElement {
|
||||
public:
|
||||
wallet_PrefillElement() : inputElement(nsnull), selectElement(nsnull)
|
||||
|
|
|
@ -64,7 +64,6 @@
|
|||
/* ------------------------------------ */
|
||||
/* --------- nsXFormsMDGNode ---------- */
|
||||
/* ------------------------------------ */
|
||||
MOZ_DECL_CTOR_COUNTER(nsXFormsMDGNode)
|
||||
|
||||
nsXFormsMDGNode::nsXFormsMDGNode(nsIDOMNode *aNode,
|
||||
const ModelItemPropName aType)
|
||||
|
@ -122,7 +121,6 @@ nsXFormsMDGNode::MarkClean()
|
|||
/* ------------------------------------ */
|
||||
/* -------- nsXFormsMDGEngine --------- */
|
||||
/* ------------------------------------ */
|
||||
MOZ_DECL_CTOR_COUNTER(nsXFormsMDGEngine)
|
||||
|
||||
nsXFormsMDGEngine::nsXFormsMDGEngine()
|
||||
: mNodesInGraph(0)
|
||||
|
|
|
@ -45,8 +45,6 @@
|
|||
//#define DEBUG_XF_ANALYZER
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXFormsXPathAnalyzer)
|
||||
|
||||
nsXFormsXPathAnalyzer::nsXFormsXPathAnalyzer(nsIXFormsXPathEvaluator *aEvaluator,
|
||||
nsIDOMNode *aResolver)
|
||||
: mEvaluator(aEvaluator), mResolver(aResolver)
|
||||
|
|
|
@ -40,8 +40,6 @@
|
|||
#include "nsXFormsXPathNode.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXFormsXPathNode)
|
||||
|
||||
nsXFormsXPathNode::nsXFormsXPathNode(nsXFormsXPathNode* aParent, PRBool aContinue)
|
||||
: mChild(nsnull), mEndIndex(-100), mCon(aContinue), mIsIndex(PR_FALSE)
|
||||
{
|
||||
|
|
|
@ -59,8 +59,6 @@ XPathCompilerException(const char *aMsg,
|
|||
}
|
||||
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXFormsXPathParser)
|
||||
|
||||
nsXFormsXPathParser::nsXFormsXPathParser()
|
||||
: mUsesDynamicFunc(PR_FALSE), mHead(nsnull), mAnalyzeStackPointer(nsnull)
|
||||
{
|
||||
|
|
|
@ -40,8 +40,6 @@
|
|||
#include "nsXFormsXPathScanner.h"
|
||||
#include "nsXFormsXPathXMLUtil.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsXFormsXPathScanner)
|
||||
|
||||
nsXFormsXPathScanner::nsXFormsXPathScanner()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsXFormsXPathScanner);
|
||||
|
|
|
@ -2783,8 +2783,6 @@ nsFontGTK::IsFreeTypeFont(void)
|
|||
return PR_FALSE;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFontGTK)
|
||||
|
||||
nsFontGTK::nsFontGTK()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsFontGTK);
|
||||
|
|
|
@ -50,8 +50,6 @@
|
|||
|
||||
GdkRegion *nsGCCache::copyRegion = NULL;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsGCCache)
|
||||
|
||||
nsGCCache::nsGCCache()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsGCCache);
|
||||
|
|
|
@ -63,8 +63,6 @@ int PR_CALLBACK nsUnicodeMappingUtil::PrefChangedCallback( const char* aPrefName
|
|||
return 0;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsUnicodeMappingUtil)
|
||||
|
||||
nsUnicodeMappingUtil::nsUnicodeMappingUtil()
|
||||
{
|
||||
Init();
|
||||
|
|
|
@ -566,8 +566,6 @@ NS_IMETHODIMP DeviceContextImpl::SetUseAltDC(PRUint8 aValue, PRBool aOn)
|
|||
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFontCache)
|
||||
|
||||
nsFontCache::nsFontCache()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsFontCache);
|
||||
|
|
|
@ -3161,8 +3161,6 @@ nsFontXlib::IsFreeTypeFont(void)
|
|||
}
|
||||
#endif /* MOZ_ENABLE_FREETYPE2 */
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFontXlib)
|
||||
|
||||
nsFontXlib::nsFontXlib()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsFontXlib);
|
||||
|
|
|
@ -109,8 +109,6 @@ public:
|
|||
nsCOMPtr<nsIFontMetrics> mFontMetrics;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(GraphicsState)
|
||||
|
||||
GraphicsState::GraphicsState() :
|
||||
mMatrix(nsnull),
|
||||
mColor(NS_RGB(0, 0, 0)),
|
||||
|
|
|
@ -57,8 +57,6 @@ XPCContext::newXPCContext(XPCJSRuntime* aRuntime,
|
|||
return new XPCContext(aRuntime, aJSContext);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(XPCContext)
|
||||
|
||||
XPCContext::XPCContext(XPCJSRuntime* aRuntime,
|
||||
JSContext* aJSContext)
|
||||
: mRuntime(aRuntime),
|
||||
|
|
|
@ -46,8 +46,6 @@
|
|||
PRInt32 XPCWrappedNativeProto::gDEBUG_LiveProtoCount = 0;
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(XPCWrappedNativeProto)
|
||||
|
||||
XPCWrappedNativeProto::XPCWrappedNativeProto(XPCWrappedNativeScope* Scope,
|
||||
nsIClassInfo* ClassInfo,
|
||||
PRUint32 ClassInfoFlags,
|
||||
|
|
|
@ -129,8 +129,6 @@ XPCWrappedNativeScope::GetNewOrUsed(XPCCallContext& ccx, JSObject* aGlobal)
|
|||
return scope;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(XPCWrappedNativeScope)
|
||||
|
||||
XPCWrappedNativeScope::XPCWrappedNativeScope(XPCCallContext& ccx,
|
||||
JSObject* aGlobal)
|
||||
: mRuntime(ccx.GetRuntime()),
|
||||
|
|
|
@ -596,8 +596,6 @@ nsresult nsDisplayWrapper::WrapListsInPlace(nsDisplayListBuilder* aBuilder,
|
|||
return WrapEachDisplayItem(aBuilder, aLists.Outlines(), this);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayOpacity)
|
||||
|
||||
nsDisplayOpacity::nsDisplayOpacity(nsIFrame* aFrame, nsDisplayList* aList)
|
||||
: nsDisplayWrapList(aFrame, aList), mNeedAlpha(PR_TRUE) {
|
||||
MOZ_COUNT_CTOR(nsDisplayOpacity);
|
||||
|
@ -726,8 +724,6 @@ PRBool nsDisplayOpacity::TryMerge(nsDisplayListBuilder* aBuilder, nsDisplayItem*
|
|||
return PR_TRUE;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayClip)
|
||||
|
||||
nsDisplayClip::nsDisplayClip(nsIFrame* aFrame, nsDisplayItem* aItem,
|
||||
const nsRect& aRect)
|
||||
: nsDisplayWrapList(aFrame, aItem), mClip(aRect) {
|
||||
|
|
|
@ -716,7 +716,6 @@ private:
|
|||
* custom display item class could be, and fractionally slower. However it does
|
||||
* save code size. We use this for infrequently-used item types.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayGeneric)
|
||||
class nsDisplayGeneric : public nsDisplayItem {
|
||||
public:
|
||||
typedef void (* PaintCallback)(nsIFrame* aFrame, nsIRenderingContext* aCtx,
|
||||
|
@ -751,7 +750,6 @@ protected:
|
|||
/**
|
||||
* The standard display item to paint the CSS borders of a frame.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayBorder)
|
||||
class nsDisplayBorder : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayBorder(nsIFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
@ -771,7 +769,6 @@ public:
|
|||
/**
|
||||
* The standard display item to paint the CSS background of a frame.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayBackground)
|
||||
class nsDisplayBackground : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayBackground(nsIFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
@ -796,7 +793,6 @@ public:
|
|||
/**
|
||||
* The standard display item to paint the CSS outline of a frame.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayOutline)
|
||||
class nsDisplayOutline : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayOutline(nsIFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
@ -818,7 +814,6 @@ public:
|
|||
/**
|
||||
* A class that lets you receive events within the frame bounds but never paints.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayEventReceiver)
|
||||
class nsDisplayEventReceiver : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayEventReceiver(nsIFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
@ -926,7 +921,6 @@ protected:
|
|||
* The standard display item to paint a stacking context with translucency
|
||||
* set by the stacking context root frame's 'opacity' style.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayOpacity)
|
||||
class nsDisplayOpacity : public nsDisplayWrapList {
|
||||
public:
|
||||
nsDisplayOpacity(nsIFrame* aFrame, nsDisplayList* aList);
|
||||
|
|
|
@ -200,7 +200,6 @@ static PLDHashTableOps PrimaryFrameMapOps = {
|
|||
|
||||
// XXXldb This seems too complicated for what I think it's doing, and it
|
||||
// should also be using pldhash rather than plhash to use less memory.
|
||||
MOZ_DECL_CTOR_COUNTER(UndisplayedNode)
|
||||
|
||||
class UndisplayedNode {
|
||||
public:
|
||||
|
@ -1572,8 +1571,6 @@ CompareKeys(void* key1, void* key2)
|
|||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(UndisplayedMap)
|
||||
|
||||
nsFrameManagerBase::UndisplayedMap::UndisplayedMap(PRUint32 aNumBuckets)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsFrameManagerBase::UndisplayedMap);
|
||||
|
|
|
@ -639,7 +639,6 @@ nsLayoutUtils::GetFrameForPoint(nsIFrame* aFrame, nsPoint aPt)
|
|||
* A simple display item that just renders a solid color across the entire
|
||||
* visible area.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplaySolidColor)
|
||||
class nsDisplaySolidColor : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplaySolidColor(nsIFrame* aFrame, nscolor aColor)
|
||||
|
|
|
@ -48,8 +48,6 @@
|
|||
|
||||
static const PRUint32 kGrowArrayBy = 10;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsStyleChangeList)
|
||||
|
||||
nsStyleChangeList::nsStyleChangeList(void)
|
||||
: mArray(mBuffer),
|
||||
mArraySize(kStyleChangeBufferSize),
|
||||
|
|
|
@ -50,8 +50,6 @@
|
|||
#define HOVER "hover"
|
||||
#define FOCUS "focus"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsButtonFrameRenderer)
|
||||
|
||||
nsButtonFrameRenderer::nsButtonFrameRenderer()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsButtonFrameRenderer);
|
||||
|
@ -93,7 +91,6 @@ nsButtonFrameRenderer::isDisabled()
|
|||
nsHTMLAtoms::disabled);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayButtonBorderBackground)
|
||||
class nsDisplayButtonBorderBackground : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayButtonBorderBackground(nsButtonFrameRenderer* aRenderer)
|
||||
|
@ -116,7 +113,6 @@ private:
|
|||
nsButtonFrameRenderer* mBFR;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayButtonForeground)
|
||||
class nsDisplayButtonForeground : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayButtonForeground(nsButtonFrameRenderer* aRenderer)
|
||||
|
|
|
@ -2055,7 +2055,6 @@ nsComboboxControlFrame::UpdateRecentIndex(PRInt32 aIndex)
|
|||
return index;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayComboboxFocus)
|
||||
class nsDisplayComboboxFocus : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayComboboxFocus(nsComboboxControlFrame* aFrame)
|
||||
|
|
|
@ -163,7 +163,6 @@ nsFieldSetFrame::SetInitialChildList(nsPresContext* aPresContext,
|
|||
return nsHTMLContainerFrame::SetInitialChildList(aPresContext, nsnull, aChildList);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayFieldSetBorderBackground)
|
||||
class nsDisplayFieldSetBorderBackground : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayFieldSetBorderBackground(nsFieldSetFrame* aFrame)
|
||||
|
|
|
@ -80,8 +80,6 @@ static NS_DEFINE_CID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
|
|||
#define kTextControl_Wrap_Off "OFF"
|
||||
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFormControlHelper)
|
||||
|
||||
nsFormControlHelper::nsFormControlHelper()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsFormControlHelper);
|
||||
|
|
|
@ -167,7 +167,6 @@ static void PaintCheckMarkFromStyle(nsIFrame* aFrame,
|
|||
->PaintCheckBoxFromStyle(*aCtx, aPt, aDirtyRect);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayCheckMark)
|
||||
class nsDisplayCheckMark : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayCheckMark(nsGfxCheckboxControlFrame* aFrame)
|
||||
|
|
|
@ -175,7 +175,6 @@ nsGfxRadioControlFrame::PaintRadioButtonFromStyle(
|
|||
aDirtyRect, rect, *myBorder, mRadioButtonFaceStyle, 0);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayRadioButtonFromStyle)
|
||||
class nsDisplayRadioButtonFromStyle : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayRadioButtonFromStyle(nsGfxRadioControlFrame* aFrame)
|
||||
|
|
|
@ -173,7 +173,6 @@ nsBulletFrame::DidSetStyleContext()
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayBullet)
|
||||
class nsDisplayBullet : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayBullet(nsBulletFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -458,8 +458,6 @@ NS_NewEmptyFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
|
|||
return new (aPresShell) nsFrame(aContext);
|
||||
}
|
||||
|
||||
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.
|
||||
void*
|
||||
|
@ -772,7 +770,6 @@ nsFrame::DisplaySelection(nsPresContext* aPresContext, PRBool isOkToTurnOn)
|
|||
return selType;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplaySelectionOverlay)
|
||||
class nsDisplaySelectionOverlay : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplaySelectionOverlay(nsFrame* aFrame, PRInt16 aSelectionValue)
|
||||
|
@ -6179,8 +6176,6 @@ nsFrame::VerifyDirtyBitSet(nsIFrame* aFrameList)
|
|||
// Start Display Reflow
|
||||
#ifdef DEBUG
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(DR_cookie)
|
||||
|
||||
DR_cookie::DR_cookie(nsPresContext* aPresContext,
|
||||
nsIFrame* aFrame,
|
||||
const nsHTMLReflowState& aReflowState,
|
||||
|
@ -6266,8 +6261,6 @@ void DR_RulePart::Destroy()
|
|||
delete this;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(DR_Rule)
|
||||
|
||||
struct DR_Rule
|
||||
{
|
||||
DR_Rule() : mLength(0), mTarget(nsnull), mDisplay(PR_FALSE) {
|
||||
|
@ -6292,8 +6285,6 @@ void DR_Rule::AddPart(nsIAtom* aFrameType)
|
|||
mLength++;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(DR_FrameTypeInfo)
|
||||
|
||||
struct DR_FrameTypeInfo
|
||||
{
|
||||
DR_FrameTypeInfo(nsIAtom* aFrmeType, const char* aFrameNameAbbrev, const char* aFrameName);
|
||||
|
@ -6322,8 +6313,6 @@ DR_FrameTypeInfo::DR_FrameTypeInfo(nsIAtom* aFrameType,
|
|||
MOZ_COUNT_CTOR(DR_FrameTypeInfo);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(DR_FrameTreeNode)
|
||||
|
||||
struct DR_FrameTreeNode
|
||||
{
|
||||
DR_FrameTreeNode(nsIFrame* aFrame, DR_FrameTreeNode* aParent) : mFrame(aFrame), mParent(aParent), mDisplay(0), mIndent(0)
|
||||
|
@ -6344,8 +6333,6 @@ struct DR_FrameTreeNode
|
|||
|
||||
// DR_State implementation
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(DR_State)
|
||||
|
||||
DR_State::DR_State()
|
||||
: mInited(PR_FALSE), mActive(PR_FALSE), mCount(0), mAssert(-1), mIndentStart(0),
|
||||
mIndentUndisplayedFrames(PR_FALSE), mDisplayPixelErrors(PR_FALSE)
|
||||
|
|
|
@ -1626,7 +1626,6 @@ nsHTMLFramesetBorderFrame::Reflow(nsPresContext* aPresContext,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayFramesetBorder)
|
||||
class nsDisplayFramesetBorder : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayFramesetBorder(nsHTMLFramesetBorderFrame* aFrame)
|
||||
|
@ -1828,7 +1827,6 @@ nsHTMLFramesetBlankFrame::Reflow(nsPresContext* aPresContext,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayFramesetBlank)
|
||||
class nsDisplayFramesetBlank : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayFramesetBlank(nsIFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
#include "nsLineBox.h"
|
||||
#include "nsDisplayList.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayTextDecoration)
|
||||
class nsDisplayTextDecoration : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayTextDecoration(nsHTMLContainerFrame* aFrame, PRUint8 aDecoration,
|
||||
|
|
|
@ -1262,7 +1262,6 @@ static void PaintDebugImageMap(nsIFrame* aFrame, nsIRenderingContext* aCtx,
|
|||
* image itself, and hence receive events just as if the image itself
|
||||
* received events.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayImage)
|
||||
class nsDisplayImage : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayImage(nsImageFrame* aFrame, imgIContainer* aImage)
|
||||
|
|
|
@ -96,8 +96,6 @@ public:
|
|||
PRPackedBool mHasFocus;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(Area)
|
||||
|
||||
Area::Area(nsIContent* aArea)
|
||||
: mArea(aArea)
|
||||
{
|
||||
|
|
|
@ -57,8 +57,6 @@ static PRInt32 ctorCount;
|
|||
PRInt32 nsLineBox::GetCtorCount() { return ctorCount; }
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsLineBox)
|
||||
|
||||
nsLineBox::nsLineBox(nsIFrame* aFrame, PRInt32 aCount, PRBool aIsBlock)
|
||||
: mFirstChild(aFrame),
|
||||
mBounds(0, 0, 0, 0),
|
||||
|
@ -816,8 +814,6 @@ nsLineIterator::GetNextSiblingOnLine(nsIFrame*& aFrame, PRInt32 aLineNumber)
|
|||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFloatCacheList)
|
||||
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
nsFloatCacheList::nsFloatCacheList() :
|
||||
mHead(nsnull)
|
||||
|
@ -896,8 +892,6 @@ nsFloatCacheList::Remove(nsFloatCache* aElement)
|
|||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFloatCacheFreeList)
|
||||
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
nsFloatCacheFreeList::nsFloatCacheFreeList() :
|
||||
mTail(nsnull)
|
||||
|
@ -963,8 +957,6 @@ nsFloatCacheFreeList::Append(nsFloatCache* aFloat)
|
|||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsFloatCache)
|
||||
|
||||
nsFloatCache::nsFloatCache()
|
||||
: mPlaceholder(nsnull),
|
||||
mIsCurrentLineFloat(PR_TRUE),
|
||||
|
|
|
@ -150,8 +150,6 @@ static PRBool InUnconstrainedTableCell(const nsHTMLReflowState& aBlockReflowStat
|
|||
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsLineLayout)
|
||||
|
||||
nsLineLayout::nsLineLayout(nsPresContext* aPresContext,
|
||||
nsSpaceManager* aSpaceManager,
|
||||
const nsHTMLReflowState* aOuterReflowState,
|
||||
|
|
|
@ -108,8 +108,6 @@ PSArenaFreeCB(size_t aSize, void* aPtr, void* aClosure)
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
// nsSpaceManager
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsSpaceManager)
|
||||
|
||||
nsSpaceManager::nsSpaceManager(nsIPresShell* aPresShell, nsIFrame* aFrame)
|
||||
: mFrame(aFrame),
|
||||
mLowestTop(NSCOORD_MIN),
|
||||
|
@ -1272,8 +1270,6 @@ nsSpaceManager::ClearFloats(nscoord aY, PRUint8 aBreakType)
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
// FrameInfo
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsSpaceManager::FrameInfo)
|
||||
|
||||
nsSpaceManager::FrameInfo::FrameInfo(nsIFrame* aFrame, const nsRect& aRect)
|
||||
: mFrame(aFrame), mRect(aRect), mNext(0)
|
||||
{
|
||||
|
@ -1290,8 +1286,6 @@ nsSpaceManager::FrameInfo::~FrameInfo()
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
// BandRect
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(BandRect)
|
||||
|
||||
nsSpaceManager::BandRect::BandRect(nscoord aLeft,
|
||||
nscoord aTop,
|
||||
nscoord aRight,
|
||||
|
|
|
@ -1951,7 +1951,6 @@ nsTextFrame::CharacterDataChanged(nsPresContext* aPresContext,
|
|||
// When we fix nsTextFrame to handle bearing (character glyphs that
|
||||
// extend outside the frame) by giving it overflow area, we'll need to fix
|
||||
// this to use the overflow area as its bounds.
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayText)
|
||||
class nsDisplayText : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayText(nsTextFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -170,8 +170,6 @@ nsTextTransformer::Shutdown()
|
|||
|
||||
#define MAX_UNIBYTE 127
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsTextTransformer)
|
||||
|
||||
nsTextTransformer::nsTextTransformer(nsPresContext* aPresContext)
|
||||
: mFrag(nsnull),
|
||||
mOffset(0),
|
||||
|
|
|
@ -216,8 +216,6 @@ GetStretchyDirection(PRUnichar aChar)
|
|||
|
||||
// -----------------------------------------------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsGlyphTable)
|
||||
|
||||
class nsGlyphTable {
|
||||
public:
|
||||
nsGlyphTable(const nsString& aPrimaryFontName)
|
||||
|
@ -648,8 +646,6 @@ DHASH_WRAPPER(nsBaseFontHashtable, nsBaseFontEntry, PRInt32)
|
|||
// user' system. The class is an XPCOM shutdown observer to allow us to
|
||||
// free its allocated data at shutdown
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsGlyphTableList)
|
||||
|
||||
class nsGlyphTableList : public nsIObserver
|
||||
{
|
||||
public:
|
||||
|
@ -1923,7 +1919,6 @@ nsMathMLChar::ComposeChildren(nsPresContext* aPresContext,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayMathMLSelectionRect)
|
||||
class nsDisplayMathMLSelectionRect : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayMathMLSelectionRect(nsIFrame* aFrame, const nsRect& aRect)
|
||||
|
@ -1954,7 +1949,6 @@ void nsDisplayMathMLSelectionRect::Paint(nsDisplayListBuilder* aBuilder,
|
|||
aCtx->FillRect(mRect + aBuilder->ToReferenceFrame(mFrame));
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayMathMLCharBackground)
|
||||
class nsDisplayMathMLCharBackground : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayMathMLCharBackground(nsIFrame* aFrame, const nsRect& aRect,
|
||||
|
@ -1989,7 +1983,6 @@ void nsDisplayMathMLCharBackground::Paint(nsDisplayListBuilder* aBuilder,
|
|||
PR_TRUE);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayMathMLCharForeground)
|
||||
class nsDisplayMathMLCharForeground : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayMathMLCharForeground(nsIFrame* aFrame, nsMathMLChar* aChar,
|
||||
|
@ -2019,7 +2012,6 @@ void nsDisplayMathMLCharForeground::Paint(nsDisplayListBuilder* aBuilder,
|
|||
}
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayMathMLCharDebug)
|
||||
class nsDisplayMathMLCharDebug : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayMathMLCharDebug(nsIFrame* aFrame, const nsRect& aRect)
|
||||
|
|
|
@ -126,7 +126,6 @@ nsMathMLContainerFrame::ReflowError(nsIRenderingContext& aRenderingContext,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayMathMLError)
|
||||
class nsDisplayMathMLError : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayMathMLError(nsIFrame* aFrame)
|
||||
|
|
|
@ -728,7 +728,6 @@ nsMathMLFrame::MapAttributesIntoCSS(nsPresContext* aPresContext,
|
|||
}
|
||||
|
||||
#if defined(NS_DEBUG) && defined(SHOW_BOUNDING_BOX)
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayMathMLBoundingMetrics)
|
||||
class nsDisplayMathMLBoundingMetrics : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayMathMLBoundingMetrics(nsIFrame* aFrame, const nsRect& aRect)
|
||||
|
@ -773,7 +772,6 @@ nsMathMLFrame::DisplayBoundingMetrics(nsDisplayListBuilder* aBuilder,
|
|||
}
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayMathMLBar)
|
||||
class nsDisplayMathMLBar : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayMathMLBar(nsIFrame* aFrame, const nsRect& aRect)
|
||||
|
|
|
@ -82,8 +82,6 @@
|
|||
|
||||
#define B_BORDER 0xfff
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSDeclaration)
|
||||
|
||||
nsCSSDeclaration::nsCSSDeclaration()
|
||||
: mOrder(eCSSProperty_COUNT_no_shorthands, 8),
|
||||
mData(nsnull),
|
||||
|
|
|
@ -719,8 +719,6 @@ nsCSSRuleProcessor::~nsCSSRuleProcessor()
|
|||
|
||||
NS_IMPL_ISUPPORTS1(nsCSSRuleProcessor, nsIStyleRuleProcessor)
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(RuleProcessorData)
|
||||
|
||||
RuleProcessorData::RuleProcessorData(nsPresContext* aPresContext,
|
||||
nsIContent* aContent,
|
||||
nsRuleWalker* aRuleWalker,
|
||||
|
|
|
@ -181,8 +181,6 @@ nsCSSToken::AppendToString(nsString& aBuffer)
|
|||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSScanner)
|
||||
|
||||
nsCSSScanner::nsCSSScanner()
|
||||
: mInputStream(nsnull)
|
||||
, mReadPointer(nsnull)
|
||||
|
|
|
@ -360,8 +360,6 @@ void nsCSSValuePair::AppendToString(nsAString& aString,
|
|||
|
||||
// --- nsCSSValueListRect -----------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSValueListRect)
|
||||
|
||||
nsCSSValueListRect::nsCSSValueListRect(void)
|
||||
: mTop(nsnull),
|
||||
mRight(nsnull),
|
||||
|
|
|
@ -193,8 +193,6 @@ struct nsCSSRect {
|
|||
static const side_type sides[4];
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSValuePair)
|
||||
|
||||
struct nsCSSValuePair {
|
||||
nsCSSValuePair()
|
||||
{
|
||||
|
|
|
@ -87,8 +87,6 @@
|
|||
#define NS_IF_DELETE(ptr) \
|
||||
if (ptr) { delete ptr; ptr = nsnull; }
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAtomList)
|
||||
|
||||
nsAtomList::nsAtomList(nsIAtom* aAtom)
|
||||
: mAtom(aAtom),
|
||||
mNext(nsnull)
|
||||
|
@ -134,8 +132,6 @@ PRBool nsAtomList::Equals(const nsAtomList* aOther) const
|
|||
return PR_FALSE;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAtomStringList)
|
||||
|
||||
nsAtomStringList::nsAtomStringList(nsIAtom* aAtom, const PRUnichar* aString)
|
||||
: mAtom(aAtom),
|
||||
mString(nsnull),
|
||||
|
@ -191,8 +187,6 @@ PRBool nsAtomStringList::Equals(const nsAtomStringList* aOther) const
|
|||
nsCaseInsensitiveStringComparator())));
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAttrSelector)
|
||||
|
||||
nsAttrSelector::nsAttrSelector(PRInt32 aNameSpace, const nsString& aAttr)
|
||||
: mNameSpace(aNameSpace),
|
||||
mAttr(nsnull),
|
||||
|
@ -262,8 +256,6 @@ PRBool nsAttrSelector::Equals(const nsAttrSelector* aOther) const
|
|||
return PR_FALSE;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSSelector)
|
||||
|
||||
nsCSSSelector::nsCSSSelector(void)
|
||||
: mNameSpace(kNameSpaceID_Unknown), mTag(nsnull),
|
||||
mIDList(nsnull),
|
||||
|
@ -746,8 +738,6 @@ void nsCSSSelector::ToStringInternal(nsAString& aString,
|
|||
|
||||
// -- nsCSSSelectorList -------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSSelectorList)
|
||||
|
||||
nsCSSSelectorList::nsCSSSelectorList(void)
|
||||
: mSelectors(nsnull),
|
||||
mWeight(0),
|
||||
|
@ -953,8 +943,6 @@ protected:
|
|||
}
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(DOMCSSDeclarationImpl)
|
||||
|
||||
DOMCSSDeclarationImpl::DOMCSSDeclarationImpl(nsICSSStyleRule *aRule)
|
||||
: mRule(aRule)
|
||||
{
|
||||
|
|
|
@ -607,8 +607,6 @@ nsCSSStyleSheetInner::RebuildNameSpaces()
|
|||
// CSS Style Sheet
|
||||
//
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSStyleSheet)
|
||||
|
||||
nsCSSStyleSheet::nsCSSStyleSheet()
|
||||
: nsICSSStyleSheet(),
|
||||
mRefCnt(0),
|
||||
|
|
|
@ -290,8 +290,6 @@ public:
|
|||
nsCSSProperty aPropID = eCSSProperty_UNKNOWN) const;
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSValue::Array)
|
||||
|
||||
struct Array {
|
||||
|
||||
// return |Array| with reference count of zero
|
||||
|
@ -382,8 +380,6 @@ public:
|
|||
Array(const Array& aOther); // not to be implemented
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSValue::URL)
|
||||
|
||||
struct URL {
|
||||
// Caller must delete this object immediately if the allocation of
|
||||
// |mString| fails.
|
||||
|
@ -425,8 +421,6 @@ public:
|
|||
nsrefcnt mRefCnt;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSSValue::Image)
|
||||
|
||||
struct Image : public URL {
|
||||
// Not making the constructor and destructor inline because that would
|
||||
// force us to include imgIRequest.h, which leads to REQUIRES hell, since
|
||||
|
|
|
@ -51,8 +51,6 @@
|
|||
#include "nsContentUtils.h"
|
||||
#include "nsIContent.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDOMCSSAttributeDeclaration)
|
||||
|
||||
nsDOMCSSAttributeDeclaration::nsDOMCSSAttributeDeclaration(nsIContent *aContent)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsDOMCSSAttributeDeclaration);
|
||||
|
|
|
@ -586,7 +586,6 @@ nsSVGOuterSVGFrame::RemoveFrame(nsIAtom* aListName,
|
|||
return result ? NS_OK : NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplaySVG)
|
||||
class nsDisplaySVG : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplaySVG(nsSVGOuterSVGFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -105,9 +105,6 @@ HasPctValue(const nsIFrame* aFrame)
|
|||
|
||||
/* ---------- BasicTableLayoutStrategy ---------- */
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(BasicTableLayoutStrategy)
|
||||
|
||||
|
||||
BasicTableLayoutStrategy::BasicTableLayoutStrategy(nsTableFrame *aFrame, PRBool aIsNavQuirks)
|
||||
{
|
||||
MOZ_COUNT_CTOR(BasicTableLayoutStrategy);
|
||||
|
|
|
@ -48,8 +48,6 @@
|
|||
|
||||
// CellData
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CellData)
|
||||
|
||||
CellData::CellData(nsTableCellFrame* aOrigCell)
|
||||
{
|
||||
MOZ_COUNT_CTOR(CellData);
|
||||
|
@ -72,8 +70,6 @@ BCCellData::~BCCellData()
|
|||
MOZ_COUNT_DTOR(BCCellData);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCellMap)
|
||||
|
||||
// nsTableCellMap
|
||||
|
||||
nsTableCellMap::nsTableCellMap(nsTableFrame& aTableFrame,
|
||||
|
|
|
@ -352,7 +352,6 @@ nsTableCellFrame::PaintCellBackground(nsIRenderingContext& aRenderingContext,
|
|||
PaintBackground(aRenderingContext, aDirtyRect, aPt);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayTableCellBackground)
|
||||
class nsDisplayTableCellBackground : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayTableCellBackground(nsTableCellFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -1338,7 +1338,6 @@ nsTableFrame::GetAdditionalChildListName(PRInt32 aIndex) const
|
|||
return nsnull;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayTableBorderBackground)
|
||||
class nsDisplayTableBorderBackground : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayTableBorderBackground(nsTableFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -168,7 +168,6 @@ class TableBackgroundPainter
|
|||
|
||||
struct TableBackgroundData;
|
||||
friend struct TableBackgroundData;
|
||||
MOZ_DECL_CTOR_COUNTER(TableBackgroundData)
|
||||
struct TableBackgroundData {
|
||||
nsIFrame* mFrame;
|
||||
/** mRect is the rect of mFrame in the current coordinate system */
|
||||
|
@ -243,6 +242,5 @@ class TableBackgroundPainter
|
|||
float mP2t; //pixels to twips
|
||||
|
||||
};
|
||||
MOZ_DECL_CTOR_COUNTER(TableBackgroundPainter)
|
||||
|
||||
#endif
|
||||
|
|
|
@ -554,7 +554,6 @@ nsTableRowFrame::CalcHeight(const nsHTMLReflowState& aReflowState)
|
|||
* Table row backgrounds can extend beyond the row frame bounds, when
|
||||
* the row contains row-spanning cells.
|
||||
*/
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayTableRowBackground)
|
||||
class nsDisplayTableRowBackground : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayTableRowBackground(nsTableRowFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -238,8 +238,6 @@ void Coelesced()
|
|||
PRBool nsBox::gGotTheme = PR_FALSE;
|
||||
nsITheme* nsBox::gTheme = nsnull;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsBox)
|
||||
|
||||
nsBox::nsBox()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsBox);
|
||||
|
|
|
@ -1369,7 +1369,6 @@ nsBoxFrame::GetDebugPref(nsPresContext* aPresContext)
|
|||
gDebug = nsContentUtils::GetBoolPref("xul.debug.box");
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayXULDebug)
|
||||
class nsDisplayXULDebug : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayXULDebug(nsIFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -100,7 +100,6 @@ NS_NewGroupBoxFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
|
|||
return new (aPresShell) nsGroupBoxFrame(aPresShell, aContext);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayXULGroupBackground)
|
||||
class nsDisplayXULGroupBackground : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayXULGroupBackground(nsGroupBoxFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -386,7 +386,6 @@ nsImageBoxFrame::UpdateLoadFlags()
|
|||
mLoadFlags = nsIRequest::LOAD_NORMAL;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayXULImage)
|
||||
class nsDisplayXULImage : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayXULImage(nsImageBoxFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -273,7 +273,6 @@ nsTextBoxFrame::UpdateAttributes(nsPresContext* aPresContext,
|
|||
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayXULTextBox)
|
||||
class nsDisplayXULTextBox : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayXULTextBox(nsTextBoxFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -106,7 +106,6 @@ nsTreeColFrame::Destroy(nsPresContext* aPresContext)
|
|||
return nsBoxFrame::Destroy(aPresContext);
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsDisplayXULTreeColSplitterTarget)
|
||||
class nsDisplayXULTreeColSplitterTarget : public nsDisplayItem {
|
||||
public:
|
||||
nsDisplayXULTreeColSplitterTarget(nsIFrame* aFrame) : nsDisplayItem(aFrame) {
|
||||
|
|
|
@ -85,8 +85,6 @@ static void assignEntryID(LPENTRYID& aTarget, LPENTRYID aSource, ULONG aByteCoun
|
|||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsMapiEntry)
|
||||
|
||||
nsMapiEntry::nsMapiEntry(void)
|
||||
: mByteCount(0), mEntryId(NULL)
|
||||
{
|
||||
|
@ -246,8 +244,6 @@ void nsMapiEntry::Dump(void) const
|
|||
PRINTF(("\n")) ;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsMapiEntryArray)
|
||||
|
||||
nsMapiEntryArray::nsMapiEntryArray(void)
|
||||
: mEntries(NULL), mNbEntries(0)
|
||||
{
|
||||
|
@ -269,8 +265,6 @@ void nsMapiEntryArray::CleanUp(void)
|
|||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsAbWinHelper)
|
||||
|
||||
PRUint32 nsAbWinHelper::mEntryCounter = 0 ;
|
||||
// There seems to be a deadlock/auto-destruction issue
|
||||
// in MAPI when multiple threads perform init/release
|
||||
|
|
|
@ -139,8 +139,6 @@ void nsMapiAddressBook::FreeMapiLibrary(void)
|
|||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsMapiAddressBook)
|
||||
|
||||
nsMapiAddressBook::nsMapiAddressBook(void)
|
||||
: nsAbWinHelper()
|
||||
{
|
||||
|
|
|
@ -91,8 +91,6 @@ void nsWabAddressBook::FreeWabLibrary(void)
|
|||
}
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsWabAddressBook)
|
||||
|
||||
nsWabAddressBook::nsWabAddressBook(void)
|
||||
: nsAbWinHelper()
|
||||
{
|
||||
|
|
|
@ -44,8 +44,6 @@
|
|||
// ******************** nsCopySource ******************
|
||||
//
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCopySource)
|
||||
|
||||
nsCopySource::nsCopySource() : m_processed(PR_FALSE)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsCopySource);
|
||||
|
@ -77,8 +75,6 @@ void nsCopySource::AddMessage(nsIMsgDBHdr* aMsg)
|
|||
// ************ nsCopyRequest *****************
|
||||
//
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCopyRequest)
|
||||
|
||||
nsCopyRequest::nsCopyRequest() :
|
||||
m_requestType(nsCopyMessagesType),
|
||||
m_isMoveOrDraftOrTemplate(PR_FALSE),
|
||||
|
|
|
@ -58,8 +58,6 @@
|
|||
|
||||
static NS_DEFINE_CID(kRDFServiceCID, NS_RDFSERVICE_CID);
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsSubscribableServer)
|
||||
|
||||
nsSubscribableServer::nsSubscribableServer(void)
|
||||
{
|
||||
mDelimiter = '.';
|
||||
|
|
|
@ -110,8 +110,6 @@ nsMsgGroupRecord::Create(nsMsgGroupRecord* parent, const char* partname,
|
|||
return result;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsMsgGroupRecord)
|
||||
|
||||
nsMsgGroupRecord::nsMsgGroupRecord(nsMsgGroupRecord* parent, const char* partname,
|
||||
PRInt64 aTime, PRInt32 uniqueid, PRInt32 fileoffset,
|
||||
char delimiter /* = '.' */)
|
||||
|
|
|
@ -84,8 +84,6 @@
|
|||
|
||||
#define REL_FILE_PREF_SUFFIX NS_LITERAL_CSTRING("-rel")
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsMsgIncomingServer)
|
||||
|
||||
nsMsgIncomingServer::nsMsgIncomingServer():
|
||||
m_rootFolder(0),
|
||||
m_prefBranch(0),
|
||||
|
|
|
@ -94,9 +94,6 @@
|
|||
set holds a cache of the last value asked for, and can simply resume the
|
||||
search from there. */
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsMsgKeySet)
|
||||
|
||||
|
||||
nsMsgKeySet::nsMsgKeySet(/* MSG_NewsHost* host*/)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsMsgKeySet);
|
||||
|
|
|
@ -42,8 +42,6 @@
|
|||
|
||||
#include "nsIInputStream.h" // used by nsMsgLineStreamBuffer
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsByteArray)
|
||||
|
||||
nsByteArray::nsByteArray()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsByteArray);
|
||||
|
@ -99,8 +97,6 @@ nsresult nsByteArray::AppendBuffer(const char *buffer, PRUint32 length)
|
|||
return ret;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsMsgLineBuffer)
|
||||
|
||||
nsMsgLineBuffer::nsMsgLineBuffer(nsMsgLineBufferHandler *handler, PRBool convertNewlinesP)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsMsgLineBuffer);
|
||||
|
|
|
@ -50,8 +50,6 @@
|
|||
#include "nsUInt32Array.h"
|
||||
#include "nsQuickSort.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsUInt32Array)
|
||||
|
||||
nsUInt32Array::nsUInt32Array()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsUInt32Array);
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
#include "msgCore.h"
|
||||
#include "nsUint8Array.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsUint8Array)
|
||||
|
||||
nsUint8Array::nsUint8Array()
|
||||
{
|
||||
m_pData = nsnull;
|
||||
|
|
|
@ -1895,8 +1895,6 @@ cleanup:
|
|||
// nsZipArchive constructor and destructor
|
||||
//------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsZipArchive)
|
||||
|
||||
nsZipArchive::nsZipArchive()
|
||||
: kMagic(ZIP_MAGIC), kArenaBlockSize(1*1024)
|
||||
#ifdef STANDALONE
|
||||
|
@ -1947,14 +1945,10 @@ nsZipItem::~nsZipItem()
|
|||
// nsZipReadState
|
||||
//------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsZipReadState)
|
||||
|
||||
//------------------------------------------
|
||||
// nsZipFind constructor and destructor
|
||||
//------------------------------------------
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsZipFind)
|
||||
|
||||
nsZipFind::nsZipFind(nsZipArchive* aZip, char* aPattern, PRBool aRegExp)
|
||||
: kMagic(ZIPFIND_MAGIC),
|
||||
mArchive(aZip),
|
||||
|
|
|
@ -118,6 +118,5 @@ typedef PRUint8 PRPackedBool;
|
|||
#define NS_WildCardValid(a) NON_SXP
|
||||
#define NS_WildCardMatch(a,b,c) PR_FALSE
|
||||
|
||||
#define MOZ_DECL_CTOR_COUNTER(x)
|
||||
#define MOZ_COUNT_CTOR(x)
|
||||
#define MOZ_COUNT_DTOR(x)
|
||||
|
|
|
@ -174,8 +174,6 @@ nsCSecurityContext::GetCertificateID(char* buf, int buflen)
|
|||
// from nsCSecurityContext:
|
||||
extern PRUintn tlsIndex3_g;
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsCSecurityContext)
|
||||
|
||||
nsCSecurityContext::nsCSecurityContext(JSContext* cx)
|
||||
: m_pJStoJavaFrame(NULL), m_pJSCX(cx),
|
||||
m_pPrincipal(NULL),
|
||||
|
|
|
@ -44,8 +44,6 @@
|
|||
#include "nsIHTMLContentSink.h"
|
||||
#include "nsHTMLTokenizer.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(CParserContext)
|
||||
|
||||
CParserContext::CParserContext(nsScanner* aScanner,
|
||||
void *aKey,
|
||||
eParserCommands aCommand,
|
||||
|
|
|
@ -47,11 +47,6 @@
|
|||
#include "nsIServiceManager.h"
|
||||
#include "nsUnicharUtils.h"
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsEntryStack)
|
||||
MOZ_DECL_CTOR_COUNTER(nsDTDContext)
|
||||
MOZ_DECL_CTOR_COUNTER(nsTokenAllocator)
|
||||
MOZ_DECL_CTOR_COUNTER(CNodeRecycler)
|
||||
|
||||
/**************************************************************************************
|
||||
A few notes about how residual style handling is performed:
|
||||
|
||||
|
|
|
@ -79,8 +79,6 @@ const int kBufsize=1;
|
|||
const int kBufsize=64;
|
||||
#endif
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsScanner)
|
||||
|
||||
/**
|
||||
* Use this constructor if you want i/o to be based on
|
||||
* a single string you hand in during construction.
|
||||
|
|
|
@ -38,11 +38,6 @@
|
|||
#include "nsToken.h"
|
||||
#include "nsScanner.h"
|
||||
|
||||
|
||||
#ifdef MATCH_CTOR_DTOR
|
||||
MOZ_DECL_CTOR_COUNTER(CToken)
|
||||
#endif
|
||||
|
||||
static int TokenCount=0;
|
||||
static int DelTokenCount=0;
|
||||
|
||||
|
|
|
@ -134,8 +134,6 @@ enum RDFContentSinkParseMode {
|
|||
eRDFContentSinkParseMode_Date
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(RDFContentSinkImpl::NameSpaceEntry)
|
||||
|
||||
typedef
|
||||
NS_STDCALL_FUNCPROTO(nsresult,
|
||||
nsContainerTestFn,
|
||||
|
|
|
@ -176,18 +176,15 @@ done:
|
|||
}
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsKeygenFormProcessor, nsIFormProcessor)
|
||||
MOZ_DECL_CTOR_COUNTER(nsKeygenFormProcessor)
|
||||
|
||||
nsKeygenFormProcessor::nsKeygenFormProcessor()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsKeygenFormProcessor);
|
||||
m_ctx = new PipUIContext();
|
||||
|
||||
}
|
||||
|
||||
nsKeygenFormProcessor::~nsKeygenFormProcessor()
|
||||
{
|
||||
MOZ_COUNT_DTOR(nsKeygenFormProcessor);
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
|
|
|
@ -174,8 +174,6 @@ nsEventStatus PR_CALLBACK HandleEvent(nsGUIEvent *aEvent)
|
|||
return result;
|
||||
}
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(nsView)
|
||||
|
||||
nsView::nsView(nsViewManager* aViewManager, nsViewVisibility aVisibility)
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsView);
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче