Bug 1247706 - "Please don't disable WebGL if crashed on WebGL context". r=dvander

This commit is contained in:
Milan Sreckovic 2016-02-15 12:53:00 +01:00
parent 1c46abe6c4
commit 3fe5de3dab
2 changed files with 2 additions and 8 deletions

View File

@ -31,7 +31,6 @@
#include "TextureGarbageBin.h"
#include "gfx2DGlue.h"
#include "gfxPrefs.h"
#include "DriverCrashGuard.h"
#include "mozilla/IntegerPrintfMacros.h"
#include "OGLShaderProgram.h" // for ShaderProgramType
@ -476,11 +475,6 @@ GLContext::InitWithPrefix(const char *prefix, bool trygl)
return true;
}
GLContextCrashGuard crashGuard;
if (crashGuard.Crashed()) {
return false;
}
mWorkAroundDriverBugs = gfxPrefs::WorkAroundDriverBugs();
SymLoadStruct symbols[] = {

View File

@ -525,13 +525,13 @@ GLContextCrashGuard::UpdateEnvironment()
void
GLContextCrashGuard::LogCrashRecovery()
{
gfxCriticalNote << "GLContext just crashed and is now disabled.";
gfxCriticalNote << "GLContext just crashed.";
}
void
GLContextCrashGuard::LogFeatureDisabled()
{
gfxCriticalNote << "GLContext is disabled due to a previous crash.";
gfxCriticalNote << "GLContext remains enabled despite a previous crash.";
}
} // namespace gfx