Bug 950343 - Include GLContext headers on non-SKIA builds. r=vlad

This commit is contained in:
Steve Singer 2013-12-15 22:40:20 +01:00
parent 8f24e87927
commit 4c7bd8bdf9

View File

@ -91,18 +91,18 @@
#include "mozilla/dom/TextMetrics.h"
#include "mozilla/dom/UnionTypes.h"
#include "nsGlobalWindow.h"
#include "GLContext.h"
#include "GLContextProvider.h"
#ifdef USE_SKIA_GPU
#undef free // apparently defined by some windows header, clashing with a free()
// method in SkTypes.h
#include "GLContext.h"
#include "GLContextProvider.h"
#include "GLContextSkia.h"
#include "SurfaceTypes.h"
#include "nsIGfxInfo.h"
#endif
using mozilla::gl::GLContext;
using mozilla::gl::GLContextProvider;
#endif
#ifdef XP_WIN
#include "gfxWindowsPlatform.h"