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:
jst%netscape.com
2001-05-19 11:27:30 +00:00
parent d5d3b2a77b
commit 535c86019d
100 changed files with 443 additions and 460 deletions

View File

@@ -1633,7 +1633,7 @@ nsHTMLDocument::GetBaseURI(nsAWritableString &aURI)
nsXPIDLCString spec;
uri->GetSpec(getter_Copies(spec));
if (spec) {
CopyASCIItoUCS2(nsLiteralCString(spec), aURI);
CopyASCIItoUCS2(nsDependentCString(spec), aURI);
}
}
return NS_OK;
@@ -2384,7 +2384,7 @@ nsHTMLDocument::ScriptWriteCommon(PRBool aNewlineTerminate)
JSString *jsstr = JS_ValueToString(cx, argv[0]);
NS_ENSURE_TRUE(jsstr, NS_ERROR_OUT_OF_MEMORY);
nsLiteralString str(NS_REINTERPRET_CAST(const PRUnichar *,
nsDependentString str(NS_REINTERPRET_CAST(const PRUnichar *,
::JS_GetStringChars(jsstr)),
::JS_GetStringLength(jsstr));