Backout 59a4e09dd5ce (diagnostic patch from bug 881018) since it didn't help. r=me

This commit is contained in:
Kartikaya Gupta 2013-07-08 13:11:04 -04:00
parent fb8f42b563
commit 2dc3329baa

View File

@ -19,7 +19,6 @@
#include "nsRect.h"
#include "nsRegion.h"
#include "nsTArray.h"
#include "gfxPlatform.h"
namespace mozilla {
namespace layers {
@ -141,15 +140,6 @@ public:
return;
}
// Trying to diagnose bug 881018. Using two separate crash calls so that
// we get distinct line numbers in the crash reports.
if (aResolution > TILEDLAYERBUFFER_TILE_SIZE) {
MOZ_CRASH();
} else if (!(gfx::FuzzyEqual(aResolution, 1.0, 1e-5) ||
gfx::FuzzyEqual(aResolution, gfxPlatform::GetLowPrecisionResolution(), 1e-5))) {
MOZ_CRASH();
}
Update(nsIntRegion(), nsIntRegion());
mResolution = aResolution;
}