landing string branch; see bug #73786
git-svn-id: svn://10.0.0.236/trunk@91049 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -383,7 +383,7 @@ ConvertAndWrite(nsAReadableString& aString,
|
||||
NS_ENSURE_ARG_POINTER(aEncoder);
|
||||
nsresult rv;
|
||||
PRInt32 charLength, startCharLength;
|
||||
nsPromiseFlatString flat(aString);
|
||||
const nsPromiseFlatString& flat = PromiseFlatString(aString);
|
||||
const PRUnichar* unicodeBuf = flat.get();
|
||||
PRInt32 unicodeLength = aString.Length();
|
||||
PRInt32 startLength = unicodeLength;
|
||||
|
||||
Reference in New Issue
Block a user