Bug 1143653 - Backout part of the initial patch because of crashes.

This commit is contained in:
Nicolas Silva 2015-03-24 14:17:27 +01:00
Родитель 8d602517b5
Коммит 9df6e6f9a8
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -590,7 +590,6 @@ CompositorD3D9::Ready()
CheckResetCount(); CheckResetCount();
return true; return true;
} }
FailedToResetDevice();
return false; return false;
} }
@ -614,9 +613,6 @@ CompositorD3D9::Ready()
void void
CompositorD3D9::FailedToResetDevice() { CompositorD3D9::FailedToResetDevice() {
mFailedResetAttempts += 1; 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 // 10 is a totally arbitrary number that we may want to increase or decrease
// depending on how things behave in the wild. // depending on how things behave in the wild.
if (mFailedResetAttempts > 10) { if (mFailedResetAttempts > 10) {