Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts

This commit is contained in:
Ed Morley
2013-02-21 19:54:25 +00:00
parent 248f8a000b
commit 3077eb4cca
52 changed files with 2669 additions and 6041 deletions

View File

@@ -82,9 +82,7 @@ static nsRefPtr<GLContext> sPluginContext = nullptr;
static bool EnsureGLContext()
{
if (!sPluginContext) {
gfxIntSize dummySize(16, 16);
GLContext::SurfaceCaps dummyCaps;
sPluginContext = GLContextProvider::CreateOffscreen(dummySize, dummyCaps);
sPluginContext = GLContextProvider::CreateOffscreen(gfxIntSize(16, 16));
}
return sPluginContext != nullptr;