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);