Backout c99d15a060e2 for causing windows Ru reftest failures.

This commit is contained in:
Matt Woodrow 2013-11-05 20:00:05 +13:00
parent 2669485799
commit fca0302756
3 changed files with 1 additions and 11 deletions

View File

@ -888,7 +888,7 @@ public:
return mOpaqueRect;
}
virtual void SetPermitSubpixelAA(bool aPermitSubpixelAA) {
void SetPermitSubpixelAA(bool aPermitSubpixelAA) {
mPermitSubpixelAA = aPermitSubpixelAA;
}

View File

@ -843,14 +843,6 @@ DrawTargetCairo::Fill(const Path *aPath,
DrawPattern(aPattern, StrokeOptions(), aOptions, DRAW_FILL);
}
void
DrawTargetCairo::SetPermitSubpixelAA(bool aPermitSubpixelAA)
{
DrawTarget::SetPermitSubpixelAA(aPermitSubpixelAA);
cairo_surface_set_subpixel_antialiasing(mSurface,
aPermitSubpixelAA ? CAIRO_SUBPIXEL_ANTIALIASING_ENABLED : CAIRO_SUBPIXEL_ANTIALIASING_DISABLED);
}
void
DrawTargetCairo::FillGlyphs(ScaledFont *aFont,
const GlyphBuffer &aBuffer,

View File

@ -60,8 +60,6 @@ public:
virtual TemporaryRef<SourceSurface> Snapshot();
virtual IntSize GetSize();
virtual void SetPermitSubpixelAA(bool aPermitSubpixelAA);
virtual bool LockBits(uint8_t** aData, IntSize* aSize,
int32_t* aStride, SurfaceFormat* aFormat);
virtual void ReleaseBits(uint8_t* aData);