Bug 489122 - MOZ_REFLOW_PERF not AC_DEFINED by --enable-reflow-perf since it's misspelled _PREF in configure.in, r+sr=roc

This commit is contained in:
Phil Ringnalda 2009-05-03 18:35:33 -07:00
parent 79854986cb
commit 621dae24da
2 changed files with 3 additions and 4 deletions

View File

@ -6856,10 +6856,9 @@ MOZ_ARG_ENABLE_BOOL(reflow-perf,
[ --enable-reflow-perf Enable reflow performance tracing],
MOZ_REFLOW_PERF=1,
MOZ_REFLOW_PERF= )
if test -n "$MOZ_REFLOW_PREF"; then
AC_DEFINE(MOZ_REFLOW_PREF)
if test -n "$MOZ_REFLOW_PERF"; then
AC_DEFINE(MOZ_REFLOW_PERF)
fi
AC_SUBST(MOZ_REFLOW_PERF)
dnl ========================================================
dnl Enable performance metrics.

View File

@ -144,7 +144,7 @@
#include "nsIRegion.h"
#include "nsRegion.h"
#ifdef MOZ_REFLOW_PERF_DSP
#ifdef MOZ_REFLOW_PERF
#include "nsIRenderingContext.h"
#include "nsIFontMetrics.h"
#endif