From 9fcca83f99441953b703d03024e5e62a4cfe9fa5 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Fri, 14 Apr 2017 18:26:15 +0800 Subject: [PATCH] Bug 1356537 - Revert device reset check in EndFrame; r=dvander MozReview-Commit-ID: Ke1TUrdinns --HG-- extra : rebase_source : a1c2068000375dd15ccfb70eef486e5c362cf6ad --- gfx/layers/d3d11/CompositorD3D11.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gfx/layers/d3d11/CompositorD3D11.cpp b/gfx/layers/d3d11/CompositorD3D11.cpp index 36c5825d8c0c..f5f53f43f3ff 100644 --- a/gfx/layers/d3d11/CompositorD3D11.cpp +++ b/gfx/layers/d3d11/CompositorD3D11.cpp @@ -1415,13 +1415,6 @@ CompositorD3D11::EndFrame() return; } - if (mDevice->GetDeviceRemovedReason() != S_OK) { - gfxCriticalNote << "GFX: D3D11 skip EndFrame with device-removed."; - Compositor::EndFrame(); - mCurrentRT = nullptr; - return; - } - LayoutDeviceIntSize oldSize = mSize; EnsureSize(); if (mSize.width <= 0 || mSize.height <= 0) {