Bug 663784 - Don't use using statement before includes r=masayuki

This commit is contained in:
Jacek Caban 2011-06-17 14:55:51 +02:00
Родитель 03dab775e4
Коммит 0bf4b97dfb
1 изменённых файлов: 7 добавлений и 9 удалений

Просмотреть файл

@ -77,7 +77,9 @@
#endif #endif
#endif #endif
using namespace mozilla; #include "gfxUserFontSet.h"
#include <string>
#ifdef CAIRO_HAS_D2D_SURFACE #ifdef CAIRO_HAS_D2D_SURFACE
#include "gfxD2DSurface.h" #include "gfxD2DSurface.h"
@ -86,7 +88,11 @@ using namespace mozilla;
#include "nsIMemoryReporter.h" #include "nsIMemoryReporter.h"
#include "nsMemory.h" #include "nsMemory.h"
#endif
using namespace mozilla;
#ifdef CAIRO_HAS_D2D_SURFACE
class D2DCacheReporter : class D2DCacheReporter :
public nsIMemoryReporter public nsIMemoryReporter
{ {
@ -168,14 +174,6 @@ public:
NS_IMPL_ISUPPORTS1(D2DVRAMReporter, nsIMemoryReporter) NS_IMPL_ISUPPORTS1(D2DVRAMReporter, nsIMemoryReporter)
#endif #endif
#ifdef WINCE
#include <shlwapi.h>
#endif
#include "gfxUserFontSet.h"
#include <string>
#define GFX_USE_CLEARTYPE_ALWAYS "gfx.font_rendering.cleartype.always_use_for_content" #define GFX_USE_CLEARTYPE_ALWAYS "gfx.font_rendering.cleartype.always_use_for_content"
#define GFX_DOWNLOADABLE_FONTS_USE_CLEARTYPE "gfx.font_rendering.cleartype.use_for_downloadable_fonts" #define GFX_DOWNLOADABLE_FONTS_USE_CLEARTYPE "gfx.font_rendering.cleartype.use_for_downloadable_fonts"