Bug 1292774 - Turn to use gfxCriticalNote for mismatched d3d11 device in CompositorD3D11::HandleError(). r=dvander, a=ritu
authorJerryShih <hshih@mozilla.com>
Tue, 09 Aug 2016 01:29:00 -0400
changeset 348219 d2dfb7d2fe1a0d87ca1f5dfff6114e9b9327c9de
parent 348218 c1c3b1e2bf94289422620f27e546a42091f01f98
child 348220 c8c73a25bafb231f4c19ec6ded4f7a0e0d6f8108
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdvander, ritu
bugs1292774
milestone50.0a2
Bug 1292774 - Turn to use gfxCriticalNote for mismatched d3d11 device in CompositorD3D11::HandleError(). r=dvander, a=ritu
gfx/layers/d3d11/CompositorD3D11.cpp
--- a/gfx/layers/d3d11/CompositorD3D11.cpp
+++ b/gfx/layers/d3d11/CompositorD3D11.cpp
@@ -1709,17 +1709,17 @@ CompositorD3D11::HandleError(HRESULT hr,
     return;
   }
 
   if (aSeverity == Critical) {
     MOZ_CRASH("GFX: Unrecoverable D3D11 error");
   }
 
   if (mDevice && DeviceManagerD3D11::Get()->GetCompositorDevice() != mDevice) {
-    gfxCriticalError() << "Out of sync D3D11 devices in HandleError, " << (int)mVerifyBuffersFailed;
+    gfxCriticalNote << "Out of sync D3D11 devices in HandleError, " << (int)mVerifyBuffersFailed;
   }
 
   HRESULT hrOnReset = S_OK;
   bool deviceRemoved = hr == DXGI_ERROR_DEVICE_REMOVED;
 
   if (deviceRemoved && mDevice) {
     hrOnReset = mDevice->GetDeviceRemovedReason();
   } else if (hr == DXGI_ERROR_INVALID_CALL && mDevice) {