From 9df6e6f9a8bd7dd5580381f49d0ac762bb3a6fff Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Tue, 24 Mar 2015 14:17:27 +0100 Subject: [PATCH] Bug 1143653 - Backout part of the initial patch because of crashes. --- gfx/layers/d3d9/CompositorD3D9.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gfx/layers/d3d9/CompositorD3D9.cpp b/gfx/layers/d3d9/CompositorD3D9.cpp index a4cc8c621594..911bbbadd21c 100644 --- a/gfx/layers/d3d9/CompositorD3D9.cpp +++ b/gfx/layers/d3d9/CompositorD3D9.cpp @@ -590,7 +590,6 @@ CompositorD3D9::Ready() CheckResetCount(); return true; } - FailedToResetDevice(); return false; } @@ -614,9 +613,6 @@ CompositorD3D9::Ready() void CompositorD3D9::FailedToResetDevice() { mFailedResetAttempts += 1; - auto withoutAssertion = CriticalLog::DefaultOptions(false); - gfxCriticalError(withoutAssertion) << "[D3D9] Failed to re-create a D3D9 device, attempt " - << mFailedResetAttempts; // 10 is a totally arbitrary number that we may want to increase or decrease // depending on how things behave in the wild. if (mFailedResetAttempts > 10) {