Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135993 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
nsDSURIContentListener::nsDSURIContentListener() : mDocShell(nsnull),
|
||||
mParentContentListener(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsDSURIContentListener::~nsDSURIContentListener()
|
||||
|
||||
@@ -38,7 +38,6 @@ NS_IMPL_ISUPPORTS1(nsDefaultURIFixup, nsIURIFixup)
|
||||
|
||||
nsDefaultURIFixup::nsDefaultURIFixup()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
/* member initializers and constructor code */
|
||||
|
||||
// Try and get the pref service
|
||||
|
||||
@@ -244,7 +244,6 @@ nsDocShell::nsDocShell():
|
||||
mChromeEventHandler(nsnull),
|
||||
mIsPrintingOrPP(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
#ifdef PR_LOGGING
|
||||
if (! gDocShellLog)
|
||||
gDocShellLog = PR_NewLogModule("nsDocShell");
|
||||
@@ -6748,7 +6747,6 @@ nsDocShell::IsBeingDestroyed(PRBool *aDoomed)
|
||||
nsRefreshTimer::nsRefreshTimer():mRepeat(PR_FALSE), mDelay(0),
|
||||
mMetaRefresh(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsRefreshTimer::~nsRefreshTimer()
|
||||
@@ -6860,7 +6858,6 @@ nsDocShellFocusController::ClosingDown(nsIDocShell* aDocShell)
|
||||
//*****************************************************************************
|
||||
nsDocShell::InterfaceRequestorProxy::InterfaceRequestorProxy(nsIInterfaceRequestor* p)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
if (p) {
|
||||
mWeakPtr = getter_AddRefs(NS_GetWeakReference(p));
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@ nsDocShellEnumerator::nsDocShellEnumerator(PRInt32 inEnumerationDirection)
|
||||
, mDocShellType(nsIDocShellTreeItem::typeAll)
|
||||
, mEnumerationDirection(inEnumerationDirection)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsDocShellEnumerator::~nsDocShellEnumerator()
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
|
||||
nsDocShellLoadInfo::nsDocShellLoadInfo()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mLoadType = nsIDocShellLoadInfo::loadNormal;
|
||||
mInheritOwner = PR_FALSE;
|
||||
}
|
||||
|
||||
@@ -188,7 +188,6 @@ nsWebShell::nsWebShell() : nsDocShell()
|
||||
printf("WEBSHELL+ = %ld\n", gNumberOfWebShells);
|
||||
#endif
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
mThread = nsnull;
|
||||
InitFrameData();
|
||||
mItemType = typeContent;
|
||||
|
||||
Reference in New Issue
Block a user