зеркало из https://github.com/mozilla/pjs.git
Bug 596200 - Ensure that MOZ_WIDGET_QT is defined before including headers that will break non qt builds. r+a=roc
This commit is contained in:
Родитель
e1146443e9
Коммит
f01367c7d5
|
@ -65,7 +65,7 @@
|
|||
#include "gfxDirectFBSurface.h"
|
||||
#endif
|
||||
|
||||
#ifdef CAIRO_HAS_QT_SURFACE
|
||||
#ifdef CAIRO_HAS_QT_SURFACE && defined(MOZ_WIDGET_QT)
|
||||
#include "gfxQPainterSurface.h"
|
||||
#endif
|
||||
|
||||
|
@ -191,7 +191,7 @@ gfxASurface::Wrap (cairo_surface_t *csurf)
|
|||
result = new gfxDirectFBSurface(csurf);
|
||||
}
|
||||
#endif
|
||||
#ifdef CAIRO_HAS_QT_SURFACE
|
||||
#ifdef CAIRO_HAS_QT_SURFACE && defined(MOZ_WIDGET_QT)
|
||||
else if (stype == CAIRO_SURFACE_TYPE_QT) {
|
||||
result = new gfxQPainterSurface(csurf);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче