Bug 1071673 - Remove nsDebug.h include from gfx/2d/Logging.h. rs=Bas

This commit is contained in:
Botond Ballo 2014-09-23 12:37:22 -04:00
parent d5ab3d59a6
commit 9bfdf5b499

View File

@ -10,7 +10,9 @@
#include <sstream>
#include <stdio.h>
#if defined(MOZ_WIDGET_GONK) || defined(MOZ_WIDGET_ANDROID)
#include "nsDebug.h"
#endif
#include "Point.h"
#include "BaseRect.h"
#include "Matrix.h"
@ -69,7 +71,11 @@ struct BasicLogger
}
#else
if (aLevel >= sGfxLogLevel) {
#if defined(MOZ_WIDGET_GONK) || defined(MOZ_WIDGET_ANDROID)
printf_stderr("%s", aString.c_str());
#else
printf("%s", aString.c_str());
#endif
}
#endif
}