mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
extern NS_GFX FILE* operator<<(FILE* out, const nsRect& rect);
should be #ifdef DEBUG rs=tor
This commit is contained in:
parent
bc08dc36da
commit
9a3f834070
@ -152,7 +152,9 @@ struct NS_GFX nsRect {
|
||||
nscoord YMost() const {return y + height;}
|
||||
};
|
||||
|
||||
#ifdef DEBUG
|
||||
// Diagnostics
|
||||
extern NS_GFX FILE* operator<<(FILE* out, const nsRect& rect);
|
||||
#endif // DEBUG
|
||||
|
||||
#endif /* NSRECT_H */
|
||||
|
@ -203,6 +203,7 @@ nsRect& nsRect::ScaleRoundIn(const float aScale)
|
||||
return *this;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
// Diagnostics
|
||||
|
||||
FILE* operator<<(FILE* out, const nsRect& rect)
|
||||
@ -222,3 +223,5 @@ FILE* operator<<(FILE* out, const nsRect& rect)
|
||||
fputs(NS_LossyConvertUCS2toASCII(tmp).get(), out);
|
||||
return out;
|
||||
}
|
||||
|
||||
#endif // DEBUG
|
||||
|
Loading…
x
Reference in New Issue
Block a user