scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -330,7 +330,7 @@ nsresult nsScanner::Append(const char* aBuffer, PRUint32 aLen){
|
||||
} while (NS_FAILED(res) && (aLen > 0));
|
||||
}
|
||||
else {
|
||||
nsLiteralCString str(aBuffer, aLen);
|
||||
nsDependentCString str(aBuffer, aLen);
|
||||
unichars = ToNewUnicode(str);
|
||||
AppendToBuffer(unichars, unichars+aLen, unichars+aLen);
|
||||
mTotalRead+=aLen;
|
||||
@@ -378,7 +378,7 @@ nsresult nsScanner::FillBuffer(void) {
|
||||
}
|
||||
|
||||
if((0<numread) && (0==result)) {
|
||||
nsLiteralCString str(buf, numread);
|
||||
nsDependentCString str(buf, numread);
|
||||
PRUnichar* unichars = ToNewUnicode(str);
|
||||
AppendToBuffer(unichars, unichars+numread, unichars+kBufsize+1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user