Commit 597f6914 authored by bryner%netscape.com's avatar bryner%netscape.com
Browse files

remove NS_INIT_ISUPPORTS (bug 178643, checking in for dbaron)

parent 616b422b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -92,7 +92,6 @@ NS_IMPL_ISUPPORTS2(nsDownloadManager, nsIDownloadManager, nsIObserver)

nsDownloadManager::nsDownloadManager() : mBatches(0)
{
  NS_INIT_ISUPPORTS();
}

nsDownloadManager::~nsDownloadManager()
@@ -794,7 +793,6 @@ nsDownload::nsDownload():mDownloadState(NOTSTARTED),
                         mStartTime(0),
                         mLastUpdate(-500)
{
  NS_INIT_ISUPPORTS();
}

nsDownload::~nsDownload()
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ class nsDownloadProxy : public nsIDownload,
{
public:

  nsDownloadProxy() { NS_INIT_ISUPPORTS(); }
  nsDownloadProxy() { }
  virtual ~nsDownloadProxy() { };

  NS_DECL_ISUPPORTS
+0 −2
Original line number Diff line number Diff line
@@ -59,8 +59,6 @@ nsAutoCompleteController::nsAutoCompleteController() :
  mRowCount(0),
  mSearchesOngoing(0)
{
  NS_INIT_ISUPPORTS();

  mSearches = do_CreateInstance("@mozilla.org/supports-array;1");
  mResults = do_CreateInstance("@mozilla.org/supports-array;1");
}
+0 −1
Original line number Diff line number Diff line
@@ -45,7 +45,6 @@ nsAutoCompleteMdbResult::nsAutoCompleteMdbResult() :
  mDefaultIndex(-1),
  mSearchResult(nsIAutoCompleteResult::RESULT_IGNORED)
{
  NS_INIT_ISUPPORTS();
}

nsAutoCompleteMdbResult::~nsAutoCompleteMdbResult()
+0 −2
Original line number Diff line number Diff line
@@ -405,7 +405,6 @@ nsMdbTableEnumerator::nsMdbTableEnumerator()
    mCursor(nsnull),
    mCurrent(nsnull)
{
  NS_INIT_ISUPPORTS();
}


@@ -519,7 +518,6 @@ nsGlobalHistory::nsGlobalHistory()
    mStore(nsnull),
    mTable(nsnull)
{
  NS_INIT_ISUPPORTS();
  LL_I2L(mFileSizeOnDisk, 0);
  
  // commonly used prefixes that should be chopped off all 
Loading