Reviewed by Maciej.
[WebKit-https.git] / WebCore / platform / graphics / svg / qt / SVGPaintServerQt.cpp
index 1dff0295f18e30bef3ee76bf6692ce6ce3839bd4..29fff047e0871636acd1e2e54fdc77aac3c70855 100644 (file)
@@ -85,10 +85,10 @@ void SVGPaintServer::renderPath(KRenderingDeviceContext* context, const RenderPa
     RenderStyle* renderStyle = path->style();
     KRenderingDeviceContextQt* qtContext = static_cast<KRenderingDeviceContextQt*>(context);
 
-    if ((type & APPLY_TO_FILL) && renderStyle->svgStyle()->hasFill())
+    if ((type & ApplyToFillTargetType) && renderStyle->svgStyle()->hasFill())
         qtContext->fillPath();
 
-    if ((type & APPLY_TO_STROKE) && renderStyle->svgStyle()->hasStroke())
+    if ((type & ApplyToStrokeTargetType) && renderStyle->svgStyle()->hasStroke())
         qtContext->strokePath();
 }