freebsd-ports/www/kompozer/files/patch-content-html-document-src-nsHTMLContentSink.cpp
Beat Gaetzi 53b26aa644 - Fix build with DEBUG option set.
- No PORTREVISION bump required as DEBUG option is disabled by default.

Reported by:	Joseph S. Atkinson <jsa AT wickedmachine.net>
Obtained from:	KompoZer bug ID 2804052
		http://sourceforge.net/tracker/?func=detail&aid=2804052&group_id=170132&atid=853124
Feature safe:	yes
2010-02-24 12:39:43 +00:00

15 lines
443 B
C++

--- content/html/document/src/nsHTMLContentSink.cpp.orig 2010-02-23 09:57:05.000000000 +0000
+++ content/html/document/src/nsHTMLContentSink.cpp 2010-02-23 09:57:43.000000000 +0000
@@ -1630,12 +1630,6 @@
DidAddContent(node, PR_FALSE);
-#ifdef DEBUG
- if (mPreAppend &&
- SINK_LOG_TEST(gSinkLogModuleInfo, SINK_ALWAYS_REFLOW)) {
- mSink->ForceReflow();
- }
-#endif /* DEBUG */
return rv;
}
}