From c3512c3962a3ca425210e965fd1fdd4c1389fd65 Mon Sep 17 00:00:00 2001 From: "dougt%netscape.com" Date: Wed, 17 May 2006 02:37:36 +0000 Subject: [PATCH] 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com --- intl/uconv/util/nsUnicodeDecodeHelper.cpp | 2 +- intl/uconv/util/nsUnicodeEncodeHelper.cpp | 2 +- intl/uconv/util/unicpriv.h | 1 + layout/inspector/src/inDOMUtils.cpp | 2 +- layout/inspector/src/inDOMView.cpp | 2 +- layout/inspector/src/inDeepTreeWalker.cpp | 2 +- layout/inspector/src/inFlasher.cpp | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/intl/uconv/util/nsUnicodeDecodeHelper.cpp b/intl/uconv/util/nsUnicodeDecodeHelper.cpp index 9e45af71ed25..6da5296d3e63 100644 --- a/intl/uconv/util/nsUnicodeDecodeHelper.cpp +++ b/intl/uconv/util/nsUnicodeDecodeHelper.cpp @@ -52,7 +52,7 @@ NS_IMPL_ISUPPORTS1(nsUnicodeDecodeHelper, nsIUnicodeDecodeHelper) nsUnicodeDecodeHelper::nsUnicodeDecodeHelper() { - NS_INIT_REFCNT(); + NS_INIT_ISUPPORTS(); } nsUnicodeDecodeHelper::~nsUnicodeDecodeHelper() diff --git a/intl/uconv/util/nsUnicodeEncodeHelper.cpp b/intl/uconv/util/nsUnicodeEncodeHelper.cpp index 61743ca1e86f..aa6ba2633407 100644 --- a/intl/uconv/util/nsUnicodeEncodeHelper.cpp +++ b/intl/uconv/util/nsUnicodeEncodeHelper.cpp @@ -52,7 +52,7 @@ NS_IMPL_ISUPPORTS1(nsUnicodeEncodeHelper, nsIUnicodeEncodeHelper) nsUnicodeEncodeHelper::nsUnicodeEncodeHelper() { - NS_INIT_REFCNT(); + NS_INIT_ISUPPORTS(); } nsUnicodeEncodeHelper::~nsUnicodeEncodeHelper() diff --git a/intl/uconv/util/unicpriv.h b/intl/uconv/util/unicpriv.h index d3b5ebc911d9..7cded3e4a995 100644 --- a/intl/uconv/util/unicpriv.h +++ b/intl/uconv/util/unicpriv.h @@ -41,6 +41,7 @@ #include "ubase.h" #include "umap.h" #include "uconvutil.h" +#include "nsComObsolete.h" #ifdef __cplusplus extern "C" { diff --git a/layout/inspector/src/inDOMUtils.cpp b/layout/inspector/src/inDOMUtils.cpp index 9f6c48bc577b..90b6c8bc27dc 100644 --- a/layout/inspector/src/inDOMUtils.cpp +++ b/layout/inspector/src/inDOMUtils.cpp @@ -60,7 +60,7 @@ static NS_DEFINE_CID(kInspectorCSSUtilsCID, NS_INSPECTORCSSUTILS_CID); inDOMUtils::inDOMUtils() { - NS_INIT_REFCNT(); + NS_INIT_ISUPPORTS(); mCSSUtils = do_GetService(kInspectorCSSUtilsCID); } diff --git a/layout/inspector/src/inDOMView.cpp b/layout/inspector/src/inDOMView.cpp index 620caf2ef77a..80eb2ef83525 100644 --- a/layout/inspector/src/inDOMView.cpp +++ b/layout/inspector/src/inDOMView.cpp @@ -115,7 +115,7 @@ inDOMView::inDOMView() : mFilters(65535) // show all node types by default { - NS_INIT_REFCNT(); + NS_INIT_ISUPPORTS(); kAnonymousAtom = NS_NewAtom("anonymous"); kElementNodeAtom = NS_NewAtom("ELEMENT_NODE"); diff --git a/layout/inspector/src/inDeepTreeWalker.cpp b/layout/inspector/src/inDeepTreeWalker.cpp index c9dd8ed9f87e..3ade3d4d7378 100644 --- a/layout/inspector/src/inDeepTreeWalker.cpp +++ b/layout/inspector/src/inDeepTreeWalker.cpp @@ -54,7 +54,7 @@ inDeepTreeWalker::inDeepTreeWalker() { - NS_INIT_REFCNT(); + NS_INIT_ISUPPORTS(); mShowAnonymousContent = PR_FALSE; mShowSubDocuments = PR_FALSE; diff --git a/layout/inspector/src/inFlasher.cpp b/layout/inspector/src/inFlasher.cpp index a58036d7f600..503a57953f59 100644 --- a/layout/inspector/src/inFlasher.cpp +++ b/layout/inspector/src/inFlasher.cpp @@ -50,7 +50,7 @@ static NS_DEFINE_CID(kInspectorCSSUtilsCID, NS_INSPECTORCSSUTILS_CID); inFlasher::inFlasher() { - NS_INIT_REFCNT(); + NS_INIT_ISUPPORTS(); mCSSUtils = do_GetService(kInspectorCSSUtilsCID); }