From e90b864f581c93e262b34408d625fedacd10514f Mon Sep 17 00:00:00 2001 From: "bsmedberg%covad.net" Date: Wed, 11 Feb 2004 02:32:53 +0000 Subject: [PATCH] Bustage fix, use NS_METHOD to get stdcall on win32. --- docshell/base/nsGlobalHistory2Adapter.h | 16 ++++++++-------- docshell/base/nsGlobalHistoryAdapter.h | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docshell/base/nsGlobalHistory2Adapter.h b/docshell/base/nsGlobalHistory2Adapter.h index 5c93356d36e..ce86c7e432c 100644 --- a/docshell/base/nsGlobalHistory2Adapter.h +++ b/docshell/base/nsGlobalHistory2Adapter.h @@ -55,15 +55,15 @@ public: NS_DECL_ISUPPORTS NS_DECL_NSIGLOBALHISTORY - static nsresult Create(nsISupports *aOuter, - REFNSIID aIID, - void **aResult); + static NS_METHOD Create(nsISupports *aOuter, + REFNSIID aIID, + void **aResult); - static nsresult RegisterSelf(nsIComponentManager* aCompMgr, - nsIFile* aPath, - const char* aLoaderStr, - const char* aType, - const nsModuleComponentInfo *aInfo); + static NS_METHOD RegisterSelf(nsIComponentManager* aCompMgr, + nsIFile* aPath, + const char* aLoaderStr, + const char* aType, + const nsModuleComponentInfo *aInfo); NS_DEFINE_STATIC_CID_ACCESSOR(NS_GLOBALHISTORY2ADAPTER_CID); diff --git a/docshell/base/nsGlobalHistoryAdapter.h b/docshell/base/nsGlobalHistoryAdapter.h index 57bdd811ed1..2977e00816f 100644 --- a/docshell/base/nsGlobalHistoryAdapter.h +++ b/docshell/base/nsGlobalHistoryAdapter.h @@ -56,15 +56,15 @@ public: NS_DECL_ISUPPORTS NS_DECL_NSIGLOBALHISTORY2 - static nsresult Create(nsISupports *aOuter, - REFNSIID aIID, - void **aResult); + static NS_METHOD Create(nsISupports *aOuter, + REFNSIID aIID, + void **aResult); - static nsresult RegisterSelf(nsIComponentManager* aCompMgr, - nsIFile* aPath, - const char* aLoaderStr, - const char* aType, - const nsModuleComponentInfo *aInfo); + static NS_METHOD RegisterSelf(nsIComponentManager* aCompMgr, + nsIFile* aPath, + const char* aLoaderStr, + const char* aType, + const nsModuleComponentInfo *aInfo); NS_DEFINE_STATIC_CID_ACCESSOR(NS_GLOBALHISTORYADAPTER_CID);