Reduce the number of cases that trigger noisy debug noise
git-svn-id: svn://10.0.0.236/trunk@51776 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
dfe78df5d9
commit
60ea075c3f
@ -29,7 +29,10 @@ struct nsStylePosition;
|
||||
// width/height/x/y values computed during reflow.
|
||||
#ifdef DEBUG
|
||||
#define CRAZY_W 500000
|
||||
#define CRAZY_H 500000
|
||||
|
||||
// 100000 lines, approximately. Assumes p2t is 15 and 15 pixels per line
|
||||
#define CRAZY_H 22500000
|
||||
|
||||
#define CRAZY_WIDTH(_x) (((_x) < -CRAZY_W) || ((_x) > CRAZY_W))
|
||||
#define CRAZY_HEIGHT(_y) (((_y) < -CRAZY_H) || ((_y) > CRAZY_H))
|
||||
#endif
|
||||
|
||||
@ -29,7 +29,10 @@ struct nsStylePosition;
|
||||
// width/height/x/y values computed during reflow.
|
||||
#ifdef DEBUG
|
||||
#define CRAZY_W 500000
|
||||
#define CRAZY_H 500000
|
||||
|
||||
// 100000 lines, approximately. Assumes p2t is 15 and 15 pixels per line
|
||||
#define CRAZY_H 22500000
|
||||
|
||||
#define CRAZY_WIDTH(_x) (((_x) < -CRAZY_W) || ((_x) > CRAZY_W))
|
||||
#define CRAZY_HEIGHT(_y) (((_y) < -CRAZY_H) || ((_y) > CRAZY_H))
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user