Bug 1032440 - initialize all the members of RotatedContentBuffer::PaintState. r=mwoodrow

This commit is contained in:
Milan Sreckovic 2014-07-03 16:31:06 -04:00
parent 56aee51b5e
commit 19b99fbce9

View File

@ -208,7 +208,10 @@ public:
*/
struct PaintState {
PaintState()
: mMode(SurfaceMode::SURFACE_NONE)
: mRegionToDraw()
, mRegionToInvalidate()
, mMode(SurfaceMode::SURFACE_NONE)
, mClip(DrawRegionClip::CLIP_NONE)
, mContentType(gfxContentType::SENTINEL)
, mDidSelfCopy(false)
{}