зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1208584 - Silence unconstrained size warning by default. r=jfkthame
--HG-- extra : rebase_source : 910f4075078362dc28e15ce34e64a89f6aa639b2
This commit is contained in:
Родитель
b66e705f39
Коммит
b73c259457
|
@ -116,6 +116,7 @@
|
|||
#include "nsAnimationManager.h"
|
||||
#include "nsTransitionManager.h"
|
||||
#include "RestyleManager.h"
|
||||
#include "LayoutLogging.h"
|
||||
|
||||
// Make sure getpid() works.
|
||||
#ifdef XP_WIN
|
||||
|
@ -4897,10 +4898,10 @@ nsLayoutUtils::ComputeISizeValue(
|
|||
{
|
||||
NS_PRECONDITION(aFrame, "non-null frame expected");
|
||||
NS_PRECONDITION(aRenderingContext, "non-null rendering context expected");
|
||||
NS_WARN_IF_FALSE(aContainingBlockISize != NS_UNCONSTRAINEDSIZE,
|
||||
"have unconstrained inline-size; this should only result from "
|
||||
"very large sizes, not attempts at intrinsic inline-size "
|
||||
"calculation");
|
||||
LAYOUT_WARN_IF_FALSE(aContainingBlockISize != NS_UNCONSTRAINEDSIZE,
|
||||
"have unconstrained inline-size; this should only result from "
|
||||
"very large sizes, not attempts at intrinsic inline-size "
|
||||
"calculation");
|
||||
NS_PRECONDITION(aContainingBlockISize >= 0,
|
||||
"inline-size less than zero");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче