diff --git a/gfx/thebes/gfxWindowsPlatform.cpp b/gfx/thebes/gfxWindowsPlatform.cpp index 44c006cca95f..018c21e2fba8 100644 --- a/gfx/thebes/gfxWindowsPlatform.cpp +++ b/gfx/thebes/gfxWindowsPlatform.cpp @@ -424,6 +424,13 @@ void gfxWindowsPlatform::InitAcceleration() { DeviceManagerDx::Init(); InitializeConfig(); + // Ensure devices initialization. SharedSurfaceANGLE and + // SharedSurfaceD3D11Interop use them. The devices are lazily initialized + // with WebRender to reduce memory usage. + // Initialize them now when running non-e10s. + if (!BrowserTabsRemoteAutostart()) { + EnsureDevicesInitialized(); + } UpdateANGLEConfig(); UpdateRenderMode();