Comment 48 for bug 168610

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

You mean they fail with new patch or failed with old patch work with new one?

Both work on Splash BTW

Also

@@ -2751,12 +2763,13 @@ void Gfx::doRadialShFill(GfxRadialShading *shading) {
   ya = y0 + sa * (y1 - y0);
   ra = r0 + sa * (r1 - r0);
   if (ta < t0) {
- shading->getColor(t0, &colorA);
+ tt = t0;
   } else if (ta > t1) {
- shading->getColor(t1, &colorA);
+ tt = t1;
   } else {
- shading->getColor(ta, &colorA);
+ tt = ta;
   }
+ shading->getColor(tt, &colorA);

   // fill the circles
   while (ia < radialMaxSplits) {

looks like an unneeded change