Backout 7c2fd5db93b2 (bug bug 895646) for breaking the build on a CLOSED TREE

This commit is contained in:
Wes Kocher 2013-07-18 21:15:29 -07:00
Родитель 607574ac77
Коммит 2528692e6a
1 изменённых файлов: 0 добавлений и 2 удалений

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

@ -515,7 +515,6 @@ DrawGradient(CGContextRef cg, const Pattern &aPattern, const CGRect &aExtents)
if (aPattern.GetType() == PATTERN_LINEAR_GRADIENT) {
const LinearGradientPattern& pat = static_cast<const LinearGradientPattern&>(aPattern);
GradientStopsCG *stops = static_cast<GradientStopsCG*>(pat.mStops.get());
CGContextConcatCTM(cg, GfxMatrixToCGAffineTransform(pat.mMatrix));
if (stops->mExtend == EXTEND_CLAMP) {
// XXX: we should take the m out of the properties of LinearGradientPatterns
@ -533,7 +532,6 @@ DrawGradient(CGContextRef cg, const Pattern &aPattern, const CGRect &aExtents)
}
} else if (aPattern.GetType() == PATTERN_RADIAL_GRADIENT) {
const RadialGradientPattern& pat = static_cast<const RadialGradientPattern&>(aPattern);
CGContextConcatCTM(cg, GfxMatrixToCGAffineTransform(pat.mMatrix));
GradientStopsCG *stops = static_cast<GradientStopsCG*>(pat.mStops.get());
if (stops->mExtend == EXTEND_CLAMP) {