From 0154b52329af27f6ee3928767c7b05cf22eb2a74 Mon Sep 17 00:00:00 2001 From: "tbogard%aol.net" Date: Tue, 2 Nov 1999 01:18:52 +0000 Subject: [PATCH] Second phase of changing NS_ENSURE() to NS_ENSURE_TRUE() and NS_ENSURE_NOT() to NS_ENSURE_FALSE(). r=hyatt git-svn-id: svn://10.0.0.236/trunk@52457 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/base/nsISupportsUtils.h | 4 ---- mozilla/xpcom/glue/nsISupportsUtils.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/mozilla/xpcom/base/nsISupportsUtils.h b/mozilla/xpcom/base/nsISupportsUtils.h index 57a8e77a436..d8699beba7c 100644 --- a/mozilla/xpcom/base/nsISupportsUtils.h +++ b/mozilla/xpcom/base/nsISupportsUtils.h @@ -866,10 +866,6 @@ CallQueryInterface( nsISupports* aSource, DestinationType** aDestination ) #define NS_ENSURE_FALSE(x, ret) \ NS_ENSURE_TRUE(!(x), ret) -// Only here until I can get rid of all the callsites. -#define NS_ENSURE(x, ret) NS_ENSURE_TRUE(x, ret) -#define NS_ENSURE_NOT(x, ret) NS_ENSURE_FALSE(x, ret) - /////////////////////////////////////////////////////////////////////////////// // Macros for checking results /////////////////////////////////////////////////////////////////////////////// diff --git a/mozilla/xpcom/glue/nsISupportsUtils.h b/mozilla/xpcom/glue/nsISupportsUtils.h index 57a8e77a436..d8699beba7c 100644 --- a/mozilla/xpcom/glue/nsISupportsUtils.h +++ b/mozilla/xpcom/glue/nsISupportsUtils.h @@ -866,10 +866,6 @@ CallQueryInterface( nsISupports* aSource, DestinationType** aDestination ) #define NS_ENSURE_FALSE(x, ret) \ NS_ENSURE_TRUE(!(x), ret) -// Only here until I can get rid of all the callsites. -#define NS_ENSURE(x, ret) NS_ENSURE_TRUE(x, ret) -#define NS_ENSURE_NOT(x, ret) NS_ENSURE_FALSE(x, ret) - /////////////////////////////////////////////////////////////////////////////// // Macros for checking results ///////////////////////////////////////////////////////////////////////////////