Fix gcc 2.7.2.3 bustage by changing |EqualsWithConversion| to |Equals|.
git-svn-id: svn://10.0.0.236/trunk@98294 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1866,7 +1866,7 @@ nsDocShell::FindChildWithName(const PRUnichar * aName,
|
||||
continue;
|
||||
|
||||
child->GetName(getter_Copies(childName));
|
||||
if (name.EqualsWithConversion(childName)) {
|
||||
if (name.Equals(childName)) {
|
||||
*_retval = child;
|
||||
NS_ADDREF(*_retval);
|
||||
break;
|
||||
|
||||
@@ -2040,7 +2040,7 @@ nsBrowserWindow::FindWebShellWithName(const PRUnichar* aName, nsIWebShell*& aRes
|
||||
nsXPIDLString name;
|
||||
nsCOMPtr<nsIDocShellTreeItem> docShellAsItem(do_QueryInterface(mDocShell));
|
||||
if (NS_OK == docShellAsItem->GetName(getter_Copies(name))) {
|
||||
if (aNameStr.EqualsWithConversion(name)) {
|
||||
if (aNameStr.Equals(name)) {
|
||||
aResult = webShell;
|
||||
NS_ADDREF(aResult);
|
||||
return NS_OK;
|
||||
|
||||
@@ -436,7 +436,7 @@ nsXPBaseWindow::FindWebShellWithName(const PRUnichar* aName,
|
||||
if (webShell) {
|
||||
nsXPIDLString name;
|
||||
if (NS_SUCCEEDED(docShellAsItem->GetName(getter_Copies(name)))) {
|
||||
if (aNameStr.EqualsWithConversion(name)) {
|
||||
if (aNameStr.Equals(name)) {
|
||||
aResult = webShell;
|
||||
NS_ADDREF(aResult);
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user