From b1829c324ee3b99209cf53af31ff601a629aafc6 Mon Sep 17 00:00:00 2001 From: Jeff Muizelaar Date: Tue, 28 Oct 2014 10:08:25 -0400 Subject: [PATCH] Bug 1072847 - Initialize mSurface. r=BenWa --HG-- extra : rebase_source : abd536b8cd2e91c28ea0cd09e21a12da1e8dcee1 --- gfx/2d/DrawTargetCairo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/2d/DrawTargetCairo.cpp b/gfx/2d/DrawTargetCairo.cpp index 96e6dd21766..4b933d45c65 100644 --- a/gfx/2d/DrawTargetCairo.cpp +++ b/gfx/2d/DrawTargetCairo.cpp @@ -510,6 +510,7 @@ NeedIntermediateSurface(const Pattern& aPattern, const DrawOptions& aOptions) DrawTargetCairo::DrawTargetCairo() : mContext(nullptr) + , mSurface(nullptr) , mLockedBits(nullptr) { }