| Index: Source/WebCore/rendering/style/SVGRenderStyle.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/style/SVGRenderStyle.cpp (revision 86165)
|
| +++ Source/WebCore/rendering/style/SVGRenderStyle.cpp (working copy)
|
| @@ -169,9 +169,7 @@
|
| // Some stroke properties, requires relayouts, as the cached stroke boundaries need to be recalculated.
|
| if (stroke != other->stroke) {
|
| if (stroke->width != other->stroke->width
|
| - || stroke->paintType != other->stroke->paintType
|
| - || stroke->paintColor != other->stroke->paintColor
|
| - || stroke->paintUri != other->stroke->paintUri
|
| + || stroke->paint != other->stroke->paint
|
| || stroke->miterLimit != other->stroke->miterLimit
|
| || stroke->dashArray != other->stroke->dashArray
|
| || stroke->dashOffset != other->stroke->dashOffset)
|
| @@ -193,7 +191,7 @@
|
| }
|
|
|
| // If fill changes, we just need to repaint. Fill boundaries are not influenced by this, only by the Path, that RenderSVGPath contains.
|
| - if (fill->paintType != other->fill->paintType || fill->paintColor != other->fill->paintColor || fill->paintUri != other->fill->paintUri)
|
| + if (fill != other->fill)
|
| return StyleDifferenceRepaint;
|
|
|
| // If gradient stops change, we just need to repaint. Style updates are already handled through RenderSVGGradientSTop.
|
|
|