Bug 1072847 - Initialize mSurface. r=BenWa, a=abillings
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Tue, 28 Oct 2014 10:08:25 -0400
changeset 234841 286954ccc3ae42928a7ff63f91cd703d4c8ae47f
parent 234840 002b6085c7930d8b79aac6bd865ae92ddff9990e
child 234842 393498c26e3cafc56008f3653ff68a441816a813
push id611
push userraliiev@mozilla.com
push dateMon, 05 Jan 2015 23:23:16 +0000
treeherdermozilla-release@345cd3b9c445 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersBenWa, abillings
bugs1072847
milestone35.0a2
Bug 1072847 - Initialize mSurface. r=BenWa, a=abillings
gfx/2d/DrawTargetCairo.cpp
--- a/gfx/2d/DrawTargetCairo.cpp
+++ b/gfx/2d/DrawTargetCairo.cpp
@@ -505,16 +505,17 @@ NeedIntermediateSurface(const Pattern& a
   if (aOptions.mAlpha == 1.0)
     return false;
 
   return true;
 }
 
 DrawTargetCairo::DrawTargetCairo()
   : mContext(nullptr)
+  , mSurface(nullptr)
   , mLockedBits(nullptr)
 {
 }
 
 DrawTargetCairo::~DrawTargetCairo()
 {
   cairo_destroy(mContext);
   if (mSurface) {