Bug 1070722 - Fix reftest annotation for OSX 10.6

This commit is contained in:
Matt Woodrow 2014-09-30 15:26:40 +13:00
Родитель fcd996d937
Коммит 492e380aa7
2 изменённых файлов: 5 добавлений и 4 удалений

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

@ -7,6 +7,7 @@
#include "gfxQuartzSurface.h"
#include "gfxQuartzImageSurface.h"
#include "gfxImageSurface.h"
#include "mozilla/gfx/2D.h"
#include "gfxMacPlatformFontList.h"
@ -75,9 +76,9 @@ gfxPlatformMac::gfxPlatformMac()
uint32_t canvasMask = BackendTypeBit(BackendType::CAIRO) |
BackendTypeBit(BackendType::SKIA) |
BackendTypeBit(BackendType::COREGRAPHICS);
uint32_t contentMask = BackendTypeBit(BackendType::COREGRAPHICS);
uint32_t contentMask = BackendTypeBit(BackendType::CAIRO);
InitBackendPrefs(canvasMask, BackendType::COREGRAPHICS,
contentMask, BackendType::COREGRAPHICS);
contentMask, BackendType::CAIRO);
}
gfxPlatformMac::~gfxPlatformMac()
@ -101,7 +102,7 @@ gfxPlatformMac::CreateOffscreenSurface(const IntSize& size,
gfxContentType contentType)
{
nsRefPtr<gfxASurface> newSurface =
new gfxQuartzSurface(ThebesIntSize(size),
new gfxImageSurface(ThebesIntSize(size),
OptimalFormatForContent(contentType));
return newSurface.forget();
}

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

@ -85,7 +85,7 @@ fuzzy(20,999) != downscale-2a.html?205,53,bottom about:blank
fuzzy(20,999) != downscale-2b.html?205,53,bottom about:blank
fuzzy(20,999) != downscale-2c.html?205,53,bottom about:blank
fuzzy(20,999) != downscale-2d.html?205,53,bottom about:blank
fuzzy(20,999) fails-if(cocoaWidget) != downscale-2e.html?205,53,bottom about:blank
fuzzy(20,999) fails-if(OSX==10.8) != downscale-2e.html?205,53,bottom about:blank
# RUN TESTS WITH HIGH QUALITY DOWNSCALING ENABLED:
# ================================================