зеркало из https://github.com/mozilla/gecko-dev.git
Bug 855790 - Fix Clang trunk compilation error on gfxPlatformMac.h r=mattwoodrow a=overholt
This commit is contained in:
Родитель
c1fb0e118d
Коммит
b24b014ca9
|
@ -18,7 +18,8 @@
|
|||
|
||||
class gfxTextRun;
|
||||
class gfxFontFamily;
|
||||
class mozilla::gfx::DrawTarget;
|
||||
|
||||
namespace mozilla { namespace gfx { class DrawTarget; } }
|
||||
|
||||
class THEBES_API gfxPlatformMac : public gfxPlatform {
|
||||
public:
|
||||
|
@ -34,10 +35,10 @@ public:
|
|||
virtual already_AddRefed<gfxASurface>
|
||||
CreateOffscreenImageSurface(const gfxIntSize& aSize,
|
||||
gfxASurface::gfxContentType aContentType);
|
||||
|
||||
|
||||
already_AddRefed<gfxASurface> OptimizeImage(gfxImageSurface *aSurface,
|
||||
gfxASurface::gfxImageFormat format);
|
||||
|
||||
|
||||
mozilla::TemporaryRef<mozilla::gfx::ScaledFont>
|
||||
GetScaledFontForFont(mozilla::gfx::DrawTarget* aTarget, gfxFont *aFont);
|
||||
|
||||
|
@ -87,10 +88,10 @@ public:
|
|||
CreateThebesSurfaceAliasForDrawTarget_hack(mozilla::gfx::DrawTarget *aTarget);
|
||||
private:
|
||||
virtual qcms_profile* GetPlatformCMSOutputProfile();
|
||||
|
||||
|
||||
// read in the pref value for the lower threshold on font anti-aliasing
|
||||
static uint32_t ReadAntiAliasingThreshold();
|
||||
|
||||
static uint32_t ReadAntiAliasingThreshold();
|
||||
|
||||
int32_t mOSXVersion;
|
||||
uint32_t mFontAntiAliasingThreshold;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче