one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -219,7 +219,7 @@ NS_IMETHODIMP nsDocShellTreeOwner::FindItemWithName(const PRUnichar* aName,
|
||||
if (domWindow) {
|
||||
nsAutoString ourName;
|
||||
domWindow->GetName(ourName);
|
||||
if (name.EqualsIgnoreCase(ourName)) {
|
||||
if (name.Equals(ourName, nsCaseInsensitiveStringComparator())) {
|
||||
*aFoundItem = mWebBrowser->mDocShellAsItem;
|
||||
NS_IF_ADDREF(*aFoundItem);
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user