From 209f598dcb598d0881aea25bacd09654d297d72e 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 --- xpcom/base/nsISupportsUtils.h | 4 ---- xpcom/glue/nsISupportsUtils.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/xpcom/base/nsISupportsUtils.h b/xpcom/base/nsISupportsUtils.h index 57a8e77a4360..d8699beba7c9 100644 --- a/xpcom/base/nsISupportsUtils.h +++ b/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/xpcom/glue/nsISupportsUtils.h b/xpcom/glue/nsISupportsUtils.h index 57a8e77a4360..d8699beba7c9 100644 --- a/xpcom/glue/nsISupportsUtils.h +++ b/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 ///////////////////////////////////////////////////////////////////////////////