diff --git a/gfx/webrender_bindings/DCLayerTree.h b/gfx/webrender_bindings/DCLayerTree.h index 0066b89091a1..129079c6af30 100644 --- a/gfx/webrender_bindings/DCLayerTree.h +++ b/gfx/webrender_bindings/DCLayerTree.h @@ -289,7 +289,7 @@ class DCSurfaceVideo : public DCSurface { RefPtr mDecodeResource; RefPtr mVideoSwapChain; RefPtr mDecodeSwapChain; - HANDLE mSwapChainSurfaceHandle; + HANDLE mSwapChainSurfaceHandle = 0; gfx::IntSize mVideoSize; gfx::IntSize mSwapChainSize; DXGI_FORMAT mSwapChainFormat = DXGI_FORMAT_B8G8R8A8_UNORM;