From 9e3bc128dba0fd8742470c6a5eac028d17aa6e9d Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Mon, 3 Jul 2017 17:19:35 -0700 Subject: [PATCH] fix debug build --- layout/generic/nsFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp index 44955d3e8..eb1f7b63d 100644 --- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -2418,7 +2418,7 @@ nsIFrame::BuildDisplayListForChild(nsDisplayListBuilder* aBuilder, if (doingShortcut) { // This is the shortcut for frames been handled along the common // path, the most common one of THE COMMON CASE mentioned later. - MOZ_ASSERT(child->Type() != LayoutFrameType::Placeholder); + //MOZ_ASSERT(child->Type() != LayoutFrameType::Placeholder); MOZ_ASSERT(!aBuilder->GetSelectedFramesOnly() && !aBuilder->GetIncludeAllOutOfFlows(), "It should be held for painting to window");