зеркало из https://github.com/mozilla/gecko-dev.git
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
This commit is contained in:
Родитель
3ea0dc57d4
Коммит
14c5b6b776
|
@ -1272,8 +1272,6 @@ nsCSSFrameConstructor::nsCSSFrameConstructor(void)
|
|||
mDocElementContainingBlock(nsnull),
|
||||
mGfxScrollFrame(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
#ifdef DEBUG
|
||||
static PRBool gFirstTime = PR_TRUE;
|
||||
if (gFirstTime) {
|
||||
|
|
|
@ -57,7 +57,6 @@ nsFrameContentIterator::nsFrameContentIterator(nsIPresContext* aPresContext,
|
|||
nsIFrame* aFrame)
|
||||
: mPresContext(aPresContext), mParentFrame(aFrame), mIsDone(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
First();
|
||||
}
|
||||
|
||||
|
|
|
@ -454,7 +454,6 @@ NS_NewFrameManager(nsIFrameManager** aInstancePtrResult)
|
|||
|
||||
FrameManager::FrameManager()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
FrameManager::~FrameManager()
|
||||
|
|
|
@ -769,8 +769,6 @@ nsDummyLayoutRequest::Create(nsIRequest** aResult, nsIPresShell* aPresShell)
|
|||
|
||||
nsDummyLayoutRequest::nsDummyLayoutRequest(nsIPresShell* aPresShell)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
if (gRefCnt++ == 0) {
|
||||
nsresult rv;
|
||||
rv = NS_NewURI(&gURI, "about:layout-dummy-request", nsnull);
|
||||
|
@ -1519,7 +1517,6 @@ PresShell::PresShell():
|
|||
mEnablePrefStyleSheet(PR_TRUE),
|
||||
mScrollingEnabled(PR_TRUE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
#ifdef MOZ_REFLOW_PERF
|
||||
mReflowCountMgr = new ReflowCountMgr();
|
||||
mReflowCountMgr->SetPresContext(mPresContext);
|
||||
|
@ -7218,7 +7215,6 @@ NS_IMPL_ISUPPORTS2(PresShellViewEventListener, nsIScrollPositionListener, nsICom
|
|||
|
||||
PresShellViewEventListener::PresShellViewEventListener()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mPresShell = 0;
|
||||
mWasVisible = PR_FALSE;
|
||||
mCallCount = 0;
|
||||
|
|
|
@ -140,7 +140,6 @@ class nsComboButtonListener: public nsIDOMMouseListener
|
|||
nsComboButtonListener(nsComboboxControlFrame* aCombobox)
|
||||
{
|
||||
mComboBox = aCombobox;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~nsComboButtonListener() {}
|
||||
|
|
|
@ -252,7 +252,6 @@ public:
|
|||
: mPresContext(nsnull), mDelay(0), mHasBeenNotified(PR_FALSE),
|
||||
mItemsAdded(PR_FALSE), mItemsRemoved(PR_FALSE), mItemsInxSet(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~nsSelectUpdateTimer();
|
||||
|
@ -3631,7 +3630,6 @@ NS_IMPL_RELEASE(nsListEventListener)
|
|||
|
||||
nsListEventListener::nsListEventListener()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsListEventListener::~nsListEventListener()
|
||||
|
|
|
@ -221,7 +221,6 @@ nsTextInputListener::nsTextInputListener()
|
|||
, mHadUndoItems(PR_FALSE)
|
||||
, mHadRedoItems(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsTextInputListener::~nsTextInputListener()
|
||||
|
@ -509,7 +508,6 @@ NS_IMPL_ISUPPORTS3(nsTextInputSelectionImpl, nsISelectionController, nsISupports
|
|||
|
||||
nsTextInputSelectionImpl::nsTextInputSelectionImpl(nsIFrameSelection *aSel, nsIPresShell *aShell, nsIContent *aLimiter)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
if (aSel && aShell)
|
||||
{
|
||||
mFrameSelection = aSel;//we are the owner now!
|
||||
|
|
|
@ -1841,7 +1841,6 @@ NS_IMPL_ISUPPORTS2(nsBulletListener, imgIDecoderObserver, imgIContainerObserver)
|
|||
nsBulletListener::nsBulletListener() :
|
||||
mFrame(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsBulletListener::~nsBulletListener()
|
||||
|
|
|
@ -254,7 +254,6 @@ NS_IMPL_ISUPPORTS1(SelectionImageService, nsISelectionImageService)
|
|||
|
||||
SelectionImageService::SelectionImageService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
SelectionImageService::~SelectionImageService()
|
||||
|
|
|
@ -1347,8 +1347,6 @@ nsHTMLFrameInnerFrame::GetDesiredSize(nsIPresContext* aPresContext,
|
|||
*****************************************************************************/
|
||||
FrameLoadingInfo::FrameLoadingInfo(const nsSize& aSize)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mFrameSize = aSize;
|
||||
}
|
||||
|
||||
|
|
|
@ -905,7 +905,6 @@ nsGfxScrollFrameInner::nsGfxScrollFrameInner(nsGfxScrollFrame* aOuter):mHScrollb
|
|||
mHasVerticalScrollbar(PR_FALSE),
|
||||
mHasHorizontalScrollbar(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mOuter = aOuter;
|
||||
mMaxElementSize.width = 0;
|
||||
mMaxElementSize.height = 0;
|
||||
|
|
|
@ -2313,7 +2313,6 @@ NS_IMPL_ISUPPORTS2(nsImageListener, imgIDecoderObserver, imgIContainerObserver)
|
|||
nsImageListener::nsImageListener(nsImageFrame *aFrame) :
|
||||
mFrame(aFrame)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsImageListener::~nsImageListener()
|
||||
|
|
|
@ -756,7 +756,6 @@ void CircleArea::GetRect(nsIPresContext* aCX, nsRect& aRect)
|
|||
|
||||
nsImageMap::nsImageMap()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mDocument = nsnull;
|
||||
mContainsBlockContents = PR_FALSE;
|
||||
}
|
||||
|
|
|
@ -552,7 +552,6 @@ static nsLineBox* gDummyLines[1];
|
|||
|
||||
nsLineIterator::nsLineIterator()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mLines = gDummyLines;
|
||||
mNumLines = 0;
|
||||
mIndex = 0;
|
||||
|
|
|
@ -2057,7 +2057,6 @@ NS_NewObjectFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame)
|
|||
|
||||
nsPluginDOMContextMenuListener::nsPluginDOMContextMenuListener()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsPluginDOMContextMenuListener::~nsPluginDOMContextMenuListener()
|
||||
|
@ -2114,8 +2113,6 @@ nsresult nsPluginDOMContextMenuListener::Destroy(nsObjectFrame *aFrame)
|
|||
|
||||
nsPluginInstanceOwner::nsPluginInstanceOwner()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// create nsPluginNativeWindow object, it is derived from nsPluginWindow
|
||||
// struct and allows to manipulate native window procedure
|
||||
nsCOMPtr<nsIPluginHost> ph = do_GetService(kCPluginManagerCID);
|
||||
|
|
|
@ -261,7 +261,6 @@ static PRTime gLastTick;
|
|||
|
||||
nsBlinkTimer::nsBlinkTimer()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsBlinkTimer::~nsBlinkTimer()
|
||||
|
|
|
@ -1841,7 +1841,6 @@ NS_IMPL_ISUPPORTS2(nsBulletListener, imgIDecoderObserver, imgIContainerObserver)
|
|||
nsBulletListener::nsBulletListener() :
|
||||
mFrame(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsBulletListener::~nsBulletListener()
|
||||
|
|
|
@ -254,7 +254,6 @@ NS_IMPL_ISUPPORTS1(SelectionImageService, nsISelectionImageService)
|
|||
|
||||
SelectionImageService::SelectionImageService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
SelectionImageService::~SelectionImageService()
|
||||
|
|
|
@ -454,7 +454,6 @@ NS_NewFrameManager(nsIFrameManager** aInstancePtrResult)
|
|||
|
||||
FrameManager::FrameManager()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
FrameManager::~FrameManager()
|
||||
|
|
|
@ -905,7 +905,6 @@ nsGfxScrollFrameInner::nsGfxScrollFrameInner(nsGfxScrollFrame* aOuter):mHScrollb
|
|||
mHasVerticalScrollbar(PR_FALSE),
|
||||
mHasHorizontalScrollbar(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mOuter = aOuter;
|
||||
mMaxElementSize.width = 0;
|
||||
mMaxElementSize.height = 0;
|
||||
|
|
|
@ -2313,7 +2313,6 @@ NS_IMPL_ISUPPORTS2(nsImageListener, imgIDecoderObserver, imgIContainerObserver)
|
|||
nsImageListener::nsImageListener(nsImageFrame *aFrame) :
|
||||
mFrame(aFrame)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsImageListener::~nsImageListener()
|
||||
|
|
|
@ -756,7 +756,6 @@ void CircleArea::GetRect(nsIPresContext* aCX, nsRect& aRect)
|
|||
|
||||
nsImageMap::nsImageMap()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mDocument = nsnull;
|
||||
mContainsBlockContents = PR_FALSE;
|
||||
}
|
||||
|
|
|
@ -552,7 +552,6 @@ static nsLineBox* gDummyLines[1];
|
|||
|
||||
nsLineIterator::nsLineIterator()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mLines = gDummyLines;
|
||||
mNumLines = 0;
|
||||
mIndex = 0;
|
||||
|
|
|
@ -2057,7 +2057,6 @@ NS_NewObjectFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame)
|
|||
|
||||
nsPluginDOMContextMenuListener::nsPluginDOMContextMenuListener()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsPluginDOMContextMenuListener::~nsPluginDOMContextMenuListener()
|
||||
|
@ -2114,8 +2113,6 @@ nsresult nsPluginDOMContextMenuListener::Destroy(nsObjectFrame *aFrame)
|
|||
|
||||
nsPluginInstanceOwner::nsPluginInstanceOwner()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// create nsPluginNativeWindow object, it is derived from nsPluginWindow
|
||||
// struct and allows to manipulate native window procedure
|
||||
nsCOMPtr<nsIPluginHost> ph = do_GetService(kCPluginManagerCID);
|
||||
|
|
|
@ -769,8 +769,6 @@ nsDummyLayoutRequest::Create(nsIRequest** aResult, nsIPresShell* aPresShell)
|
|||
|
||||
nsDummyLayoutRequest::nsDummyLayoutRequest(nsIPresShell* aPresShell)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
if (gRefCnt++ == 0) {
|
||||
nsresult rv;
|
||||
rv = NS_NewURI(&gURI, "about:layout-dummy-request", nsnull);
|
||||
|
@ -1519,7 +1517,6 @@ PresShell::PresShell():
|
|||
mEnablePrefStyleSheet(PR_TRUE),
|
||||
mScrollingEnabled(PR_TRUE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
#ifdef MOZ_REFLOW_PERF
|
||||
mReflowCountMgr = new ReflowCountMgr();
|
||||
mReflowCountMgr->SetPresContext(mPresContext);
|
||||
|
@ -7218,7 +7215,6 @@ NS_IMPL_ISUPPORTS2(PresShellViewEventListener, nsIScrollPositionListener, nsICom
|
|||
|
||||
PresShellViewEventListener::PresShellViewEventListener()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mPresShell = 0;
|
||||
mWasVisible = PR_FALSE;
|
||||
mCallCount = 0;
|
||||
|
|
|
@ -261,7 +261,6 @@ static PRTime gLastTick;
|
|||
|
||||
nsBlinkTimer::nsBlinkTimer()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsBlinkTimer::~nsBlinkTimer()
|
||||
|
|
|
@ -1347,8 +1347,6 @@ nsHTMLFrameInnerFrame::GetDesiredSize(nsIPresContext* aPresContext,
|
|||
*****************************************************************************/
|
||||
FrameLoadingInfo::FrameLoadingInfo(const nsSize& aSize)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mFrameSize = aSize;
|
||||
}
|
||||
|
||||
|
|
|
@ -140,7 +140,6 @@ class nsComboButtonListener: public nsIDOMMouseListener
|
|||
nsComboButtonListener(nsComboboxControlFrame* aCombobox)
|
||||
{
|
||||
mComboBox = aCombobox;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~nsComboButtonListener() {}
|
||||
|
|
|
@ -252,7 +252,6 @@ public:
|
|||
: mPresContext(nsnull), mDelay(0), mHasBeenNotified(PR_FALSE),
|
||||
mItemsAdded(PR_FALSE), mItemsRemoved(PR_FALSE), mItemsInxSet(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
virtual ~nsSelectUpdateTimer();
|
||||
|
@ -3631,7 +3630,6 @@ NS_IMPL_RELEASE(nsListEventListener)
|
|||
|
||||
nsListEventListener::nsListEventListener()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsListEventListener::~nsListEventListener()
|
||||
|
|
|
@ -221,7 +221,6 @@ nsTextInputListener::nsTextInputListener()
|
|||
, mHadUndoItems(PR_FALSE)
|
||||
, mHadRedoItems(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsTextInputListener::~nsTextInputListener()
|
||||
|
@ -509,7 +508,6 @@ NS_IMPL_ISUPPORTS3(nsTextInputSelectionImpl, nsISelectionController, nsISupports
|
|||
|
||||
nsTextInputSelectionImpl::nsTextInputSelectionImpl(nsIFrameSelection *aSel, nsIPresShell *aShell, nsIContent *aLimiter)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
if (aSel && aShell)
|
||||
{
|
||||
mFrameSelection = aSel;//we are the owner now!
|
||||
|
|
|
@ -1272,8 +1272,6 @@ nsCSSFrameConstructor::nsCSSFrameConstructor(void)
|
|||
mDocElementContainingBlock(nsnull),
|
||||
mGfxScrollFrame(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
#ifdef DEBUG
|
||||
static PRBool gFirstTime = PR_TRUE;
|
||||
if (gFirstTime) {
|
||||
|
|
|
@ -57,7 +57,6 @@ nsFrameContentIterator::nsFrameContentIterator(nsIPresContext* aPresContext,
|
|||
nsIFrame* aFrame)
|
||||
: mPresContext(aPresContext), mParentFrame(aFrame), mIsDone(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
First();
|
||||
}
|
||||
|
||||
|
|
|
@ -676,7 +676,6 @@ public:
|
|||
nsGlyphTableList()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsGlyphTableList);
|
||||
NS_INIT_ISUPPORTS();
|
||||
mDefaultCount = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@
|
|||
|
||||
nsBoxLayout::nsBoxLayout()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -83,7 +83,6 @@ NS_IMPL_RELEASE(nsBoxObject)
|
|||
nsBoxObject::nsBoxObject(void)
|
||||
:mContent(nsnull), mPresShell(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsBoxObject::~nsBoxObject(void)
|
||||
|
|
|
@ -77,7 +77,6 @@ nsBrowserBoxObject::QueryInterface(REFNSIID iid, void** aResult)
|
|||
nsBrowserBoxObject::nsBrowserBoxObject()
|
||||
:mSrcURL(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsBrowserBoxObject::~nsBrowserBoxObject()
|
||||
|
|
|
@ -69,7 +69,6 @@ nsEditorBoxObject::SetDocument(nsIDocument* aDocument)
|
|||
|
||||
nsEditorBoxObject::nsEditorBoxObject()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsEditorBoxObject::~nsEditorBoxObject()
|
||||
|
|
|
@ -76,7 +76,6 @@ nsIFrameBoxObject::QueryInterface(REFNSIID iid, void** aResult)
|
|||
|
||||
nsIFrameBoxObject::nsIFrameBoxObject()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsIFrameBoxObject::~nsIFrameBoxObject()
|
||||
|
|
|
@ -815,7 +815,6 @@ NS_IMPL_ISUPPORTS2(nsImageBoxListener, imgIDecoderObserver, imgIContainerObserve
|
|||
|
||||
nsImageBoxListener::nsImageBoxListener()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsImageBoxListener::~nsImageBoxListener()
|
||||
|
|
|
@ -115,7 +115,6 @@ public:
|
|||
|
||||
nsListScrollSmoother::nsListScrollSmoother(nsListBoxBodyFrame* aOuter)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mDelta = 0;
|
||||
mOuter = aOuter;
|
||||
}
|
||||
|
|
|
@ -83,7 +83,6 @@ nsListBoxObject::QueryInterface(REFNSIID iid, void** aResult)
|
|||
|
||||
nsListBoxObject::nsListBoxObject()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsListBoxObject::~nsListBoxObject()
|
||||
|
|
|
@ -85,7 +85,6 @@ PRBool nsMenuBarListener::mAccessKeyFocuses = PR_FALSE;
|
|||
nsMenuBarListener::nsMenuBarListener(nsMenuBarFrame* aMenuBar)
|
||||
:mAccessKeyDown(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mMenuBarFrame = aMenuBar;
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,6 @@ nsMenuBoxObject::QueryInterface(REFNSIID iid, void** aResult)
|
|||
|
||||
nsMenuBoxObject::nsMenuBoxObject()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMenuBoxObject::~nsMenuBoxObject()
|
||||
|
|
|
@ -56,7 +56,6 @@ NS_IMPL_QUERY_INTERFACE3(nsMenuDismissalListener, nsIDOMMouseListener, nsIMenuRo
|
|||
nsMenuDismissalListener::nsMenuDismissalListener() :
|
||||
mEnabled(PR_TRUE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mMenuParent = nsnull;
|
||||
}
|
||||
|
||||
|
|
|
@ -78,7 +78,6 @@ NS_IMPL_QUERY_INTERFACE3(nsMenuListener, nsIDOMKeyListener, nsIDOMFocusListener,
|
|||
|
||||
nsMenuListener::nsMenuListener(nsIMenuParent* aMenuParent)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mMenuParent = aMenuParent;
|
||||
}
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@ nsPopupBoxObject::QueryInterface(REFNSIID iid, void** aResult)
|
|||
|
||||
nsPopupBoxObject::nsPopupBoxObject()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsPopupBoxObject::~nsPopupBoxObject()
|
||||
|
|
|
@ -58,7 +58,6 @@ nsRepeatService* nsRepeatService::gInstance = nsnull;
|
|||
nsRepeatService::nsRepeatService()
|
||||
: mFirstCall(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsRepeatService::~nsRepeatService()
|
||||
|
|
|
@ -75,7 +75,6 @@ NS_IMPL_RELEASE_INHERITED(nsScrollBoxObject, nsBoxObject)
|
|||
|
||||
nsScrollBoxObject::nsScrollBoxObject()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
/* member initializers and constructor code */
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ public:
|
|||
|
||||
nsSliderFrame* mSlider;
|
||||
|
||||
nsSliderMediator(nsSliderFrame* aSlider) { mSlider = aSlider; NS_INIT_ISUPPORTS(); }
|
||||
nsSliderMediator(nsSliderFrame* aSlider) { mSlider = aSlider; }
|
||||
virtual ~nsSliderMediator() {}
|
||||
|
||||
virtual void SetSlider(nsSliderFrame* aSlider) { mSlider = aSlider; }
|
||||
|
|
|
@ -101,7 +101,6 @@ public:
|
|||
|
||||
nsSplitterFrameInner(nsSplitterFrame* aSplitter)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mOuter = aSplitter;
|
||||
mPressed = PR_FALSE;
|
||||
}
|
||||
|
|
|
@ -74,7 +74,6 @@ nsXULTooltipListener::nsXULTooltipListener()
|
|||
, mNeedTitletip(PR_FALSE)
|
||||
, mLastTreeRow(-1)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsXULTooltipListener::~nsXULTooltipListener()
|
||||
|
|
|
@ -3776,7 +3776,6 @@ NS_IMPL_ISUPPORTS3(nsTreeImageListener, imgIDecoderObserver, imgIContainerObserv
|
|||
|
||||
nsTreeImageListener::nsTreeImageListener(nsITreeBoxObject* aTree, const PRUnichar* aColID)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mTree = aTree;
|
||||
mColID = aColID;
|
||||
mMin = -1; // min should start out "undefined"
|
||||
|
|
|
@ -97,7 +97,6 @@ nsTreeBoxObject::InvalidatePresentationStuff()
|
|||
|
||||
nsTreeBoxObject::nsTreeBoxObject()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsTreeBoxObject::~nsTreeBoxObject()
|
||||
|
|
|
@ -159,8 +159,6 @@ nsTreeContentView::nsTreeContentView(void) :
|
|||
mBoxObject(nsnull), mSelection(nsnull), mRoot(nsnull), mDocument(nsnull),
|
||||
mUpdateSelection(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
static const size_t kBucketSizes[] = {
|
||||
sizeof(Row)
|
||||
};
|
||||
|
|
|
@ -254,7 +254,6 @@ struct nsTreeRange
|
|||
|
||||
nsTreeSelection::nsTreeSelection(nsITreeBoxObject* aTree)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mTree = aTree;
|
||||
mSuppressed = PR_FALSE;
|
||||
mFirstRange = nsnull;
|
||||
|
|
|
@ -51,7 +51,6 @@ static NS_DEFINE_CID(kAbSync, NS_ABSYNC_SERVICE_CID);
|
|||
|
||||
nsAbSyncDriver::nsAbSyncDriver()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
/* member initializers and constructor code */
|
||||
|
||||
mTransactionID = -1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче