зеркало из https://github.com/mozilla/gecko-dev.git
Backout 7c2fd5db93b2 (bug bug 895646) for breaking the build on a CLOSED TREE
This commit is contained in:
Родитель
607574ac77
Коммит
2528692e6a
|
@ -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) {
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче