diff --git a/mozilla/content/html/document/src/nsHTMLContentSink.cpp b/mozilla/content/html/document/src/nsHTMLContentSink.cpp
index 0eae47ad58a..1ecf0521263 100644
--- a/mozilla/content/html/document/src/nsHTMLContentSink.cpp
+++ b/mozilla/content/html/document/src/nsHTMLContentSink.cpp
@@ -1079,16 +1079,9 @@ PRInt32 HTMLContentSink::AddLeaf(const nsIParserNode& aNode)
if (NS_OK == rv) {
if (nsnull != leaf) {
if (nsnull != parent) {
- PRBool allowReflow = parent == mBody;
-#ifdef NS_DEBUG
- if (allowReflow) {
- SINK_TRACE(SINK_TRACE_REFLOW,
- ("HTMLContentSink::AddLeaf: reflow after append"));
- }
-#endif
AppendToCorrectParent(parentType, parent,
(nsHTMLTag) aNode.GetNodeType(), leaf,
- allowReflow);
+ PR_FALSE);
} else {
// XXX drop stuff on the floor that doesn't have a container!
// Bad parser!
diff --git a/mozilla/layout/html/document/src/nsHTMLContentSink.cpp b/mozilla/layout/html/document/src/nsHTMLContentSink.cpp
index 0eae47ad58a..1ecf0521263 100644
--- a/mozilla/layout/html/document/src/nsHTMLContentSink.cpp
+++ b/mozilla/layout/html/document/src/nsHTMLContentSink.cpp
@@ -1079,16 +1079,9 @@ PRInt32 HTMLContentSink::AddLeaf(const nsIParserNode& aNode)
if (NS_OK == rv) {
if (nsnull != leaf) {
if (nsnull != parent) {
- PRBool allowReflow = parent == mBody;
-#ifdef NS_DEBUG
- if (allowReflow) {
- SINK_TRACE(SINK_TRACE_REFLOW,
- ("HTMLContentSink::AddLeaf: reflow after append"));
- }
-#endif
AppendToCorrectParent(parentType, parent,
(nsHTMLTag) aNode.GetNodeType(), leaf,
- allowReflow);
+ PR_FALSE);
} else {
// XXX drop stuff on the floor that doesn't have a container!
// Bad parser!