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
This commit is contained in:
@@ -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
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -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
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user