Bug 1351990 - Initialize SVGContextPaint's members. r=baku

MozReview-Commit-ID: EZJ5QFuLyna
This commit is contained in:
Jonathan Watt 2017-03-09 12:49:21 +00:00
parent 8bca08a425
commit c1539cd5b0

View File

@ -51,7 +51,10 @@ class SVGContextPaint : public RefCounted<SVGContextPaint>
protected:
typedef mozilla::gfx::DrawTarget DrawTarget;
SVGContextPaint() {}
SVGContextPaint()
: mDashOffset(0.0f)
, mStrokeWidth(0.0f)
{}
public:
typedef image::DrawResult DrawResult;