зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1143653 - Backout part of the initial patch because of crashes.
This commit is contained in:
Родитель
8d602517b5
Коммит
9df6e6f9a8
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче