Bug 1418560: Don't build IsFlattenedTreeChild in release builds. r=bustage

MozReview-Commit-ID: GP7Qds5loBI
This commit is contained in:
Emilio Cobos Álvarez 2017-11-20 18:07:06 +01:00
parent 658e7f4075
commit 1e0a205233

View File

@ -7491,6 +7491,7 @@ nsCSSFrameConstructor::LazilyStyleNewChildRange(nsIContent* aStartChild,
}
}
#ifdef DEBUG
static bool
IsFlattenedTreeChild(nsIContent* aParent, nsIContent* aChild)
{
@ -7504,6 +7505,7 @@ IsFlattenedTreeChild(nsIContent* aParent, nsIContent* aChild)
}
return false;
}
#endif
void
nsCSSFrameConstructor::StyleNewChildRange(nsIContent* aStartChild,