mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
fix for 65897 (fixes annoying warning in nsIStyleSet.h) r=saari, sr=waterson
This commit is contained in:
parent
d52027c46e
commit
1dbdc070e6
@ -302,9 +302,9 @@ protected:
|
||||
static nsUniqueStyleItems *mInstance;
|
||||
};
|
||||
|
||||
#define UNIQUE_STYLE_ITEMS(_name) \
|
||||
nsUniqueStyleItems* ##_name = nsUniqueStyleItems::GetUniqueStyleItems(); \
|
||||
NS_ASSERTION(##_name != nsnull, "UniqueItems cannot be null: error in nsUniqueStyleImtes factory");
|
||||
#define UNIQUE_STYLE_ITEMS(__ptr) \
|
||||
nsUniqueStyleItems* __ptr = nsUniqueStyleItems::GetUniqueStyleItems(); \
|
||||
NS_ASSERTION(__ptr != nsnull, "UniqueItems cannot be null: error in nsUniqueStyleItems factory");
|
||||
|
||||
/** a simple struct (that may someday be expanded)
|
||||
* that contains data supplied by the caller to help
|
||||
|
Loading…
Reference in New Issue
Block a user