Bug 616081 - Make possible to set gDumpPaintList as true with ENV variable in debu builds. r=roc a=approval2.0

This commit is contained in:
Oleg Romashin 2010-12-04 00:11:03 +02:00
parent 61e5abed8a
commit efc88eb253

View File

@ -1061,7 +1061,7 @@ nsLayoutUtils::CombineBreakType(PRUint8 aOrigBreakType,
#ifdef DEBUG
#include <stdio.h>
static PRBool gDumpPaintList = PR_FALSE;
static PRBool gDumpPaintList = getenv("MOZ_DUMP_PAINT_LIST") != 0;
static PRBool gDumpEventList = PR_FALSE;
#endif