mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout 59a4e09dd5ce (diagnostic patch from bug 881018) since it didn't help. r=me
This commit is contained in:
parent
fb8f42b563
commit
2dc3329baa
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user