mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1180048 - Switch warning about having a zero length axis to a LAYOUT_WARNING. r=dholbert
This commit is contained in:
parent
baaa9b38a8
commit
086fdba063
@ -17,6 +17,7 @@
|
||||
#include "nsSVGIntegrationUtils.h"
|
||||
#include "nsTextFormatter.h"
|
||||
#include "DOMSVGLength.h"
|
||||
#include "LayoutLogging.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
@ -121,7 +122,7 @@ static float
|
||||
FixAxisLength(float aLength)
|
||||
{
|
||||
if (aLength == 0.0f) {
|
||||
NS_WARNING("zero axis length");
|
||||
LAYOUT_WARNING("zero axis length");
|
||||
return 1e-20f;
|
||||
}
|
||||
return aLength;
|
||||
|
Loading…
Reference in New Issue
Block a user