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.
This commit is contained in:
@@ -472,14 +472,14 @@ nsWebShell::GetReferrer(nsIURI **aReferrer)
|
||||
void
|
||||
nsWebShell::SetReferrer(const PRUnichar* aReferrer)
|
||||
{
|
||||
NS_NewURI(getter_AddRefs(mReferrerURI), nsLiteralString(aReferrer), nsnull);
|
||||
NS_NewURI(getter_AddRefs(mReferrerURI), nsDependentString(aReferrer), nsnull);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsWebShell::SetURL(const PRUnichar* aURL)
|
||||
{
|
||||
nsCOMPtr<nsIURI> uri;
|
||||
NS_ENSURE_SUCCESS(NS_NewURI(getter_AddRefs(uri), nsLiteralString(aURL),
|
||||
NS_ENSURE_SUCCESS(NS_NewURI(getter_AddRefs(uri), nsDependentString(aURL),
|
||||
nsnull),
|
||||
NS_ERROR_FAILURE);
|
||||
SetCurrentURI(uri);
|
||||
@@ -788,7 +788,7 @@ nsWebShell::HandleLinkClickEvent(nsIContent *aContent,
|
||||
// and down in the load document code we'll detect this and
|
||||
// set the correct uri loader command
|
||||
nsCOMPtr<nsIURI> uri;
|
||||
NS_NewURI(getter_AddRefs(uri), nsLiteralString(aURLSpec), nsnull);
|
||||
NS_NewURI(getter_AddRefs(uri), nsDependentString(aURLSpec), nsnull);
|
||||
|
||||
// No URI object? This may indicate the URLspec is for an
|
||||
// unrecognized protocol. Embedders might still be interested
|
||||
|
||||
Reference in New Issue
Block a user