Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#include "nsINodeInfo.h"
|
||||
#include "prmem.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
//
|
||||
// XXX THIS IS TEMPORARY CODE
|
||||
@@ -767,10 +767,10 @@ nsHTMLFragmentContentSink::AddText(const nsAReadableString& aString)
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
mTextLength += nsLayoutUtils::CopyNewlineNormalizedUnicodeTo(aString,
|
||||
offset,
|
||||
&mText[mTextLength],
|
||||
amount);
|
||||
mTextLength +=
|
||||
nsContentUtils::CopyNewlineNormalizedUnicodeTo(aString, offset,
|
||||
&mText[mTextLength],
|
||||
amount);
|
||||
offset += amount;
|
||||
addLen -= amount;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user