Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org
This commit is contained in:
@@ -4504,7 +4504,7 @@ NS_IMETHODIMP PresShell::GetLinkLocation(nsIDOMNode* aNode, nsAString& aLocation
|
||||
rv = baseURI->Resolve(NS_ConvertUCS2toUTF8(anchorText),spec);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
anchorText = NS_ConvertUTF8toUCS2(spec);
|
||||
CopyUTF8toUTF16(spec, anchorText);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user