зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1070722 - Fix reftest annotation for OSX 10.6
This commit is contained in:
Родитель
fcd996d937
Коммит
492e380aa7
|
@ -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:
|
||||
# ================================================
|
||||
|
|
Загрузка…
Ссылка в новой задаче