Bug 1296582 - ignore initialisation check for members in SurfaceDescriptorX11. r?jrmuizel draft
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Tue, 23 Aug 2016 14:17:56 +0300
changeset 404369 e85dbf79f4e35de5d8e002df90f47d5ff6516a3a
parent 402944 cf06fbc831754e54c6abb71d3136597488a530e0
child 529176 193e4e370ce337f5e910cf1ae9cbde3321dd72c5
push id27201
push userbmo:bpostelnicu@mozilla.com
push dateTue, 23 Aug 2016 11:18:18 +0000
reviewersjrmuizel
bugs1296582
milestone51.0a1
Bug 1296582 - ignore initialisation check for members in SurfaceDescriptorX11. r?jrmuizel MozReview-Commit-ID: IrxMqvROHPH
gfx/layers/ipc/ShadowLayerUtilsX11.h
--- a/gfx/layers/ipc/ShadowLayerUtilsX11.h
+++ b/gfx/layers/ipc/ShadowLayerUtilsX11.h
@@ -44,20 +44,20 @@ struct SurfaceDescriptorX11 {
     // the same valid XID, then size/format are "actually" the same
     // anyway, regardless of the values of the fields in
     // SurfaceDescriptorX11.
     return mId == aOther.mId;
   }
 
   already_AddRefed<gfxXlibSurface> OpenForeign() const;
 
-  Drawable mId;
-  XID mFormat; // either a PictFormat or VisualID
+  MOZ_INIT_OUTSIDE_CTOR Drawable mId;
+  MOZ_INIT_OUTSIDE_CTOR XID mFormat; // either a PictFormat or VisualID
   gfx::IntSize mSize;
-  Drawable mGLXPixmap; // used to prevent multiple bindings to the same GLXPixmap in-process
+  MOZ_INIT_OUTSIDE_CTOR Drawable mGLXPixmap; // used to prevent multiple bindings to the same GLXPixmap in-process
 };
 
 } // namespace layers
 } // namespace mozilla
 
 namespace IPC {
 
 template <>