bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc
This commit is contained in:
@@ -145,7 +145,7 @@ LayoutScriptNameSet::AddNameSet(nsIScriptContext* aScriptContext)
|
||||
|
||||
result = aScriptContext->GetNameSpaceManager(&manager);
|
||||
if (NS_OK == result) {
|
||||
result = manager->RegisterGlobalName(NS_ConvertToString("HTMLImageElement"),
|
||||
result = manager->RegisterGlobalName(NS_LITERAL_STRING("HTMLImageElement"),
|
||||
NS_GET_IID(nsIScriptObjectOwner),
|
||||
kHTMLImageElementCID,
|
||||
PR_TRUE);
|
||||
@@ -154,7 +154,7 @@ LayoutScriptNameSet::AddNameSet(nsIScriptContext* aScriptContext)
|
||||
return result;
|
||||
}
|
||||
|
||||
result = manager->RegisterGlobalName(NS_ConvertToString("HTMLOptionElement"),
|
||||
result = manager->RegisterGlobalName(NS_LITERAL_STRING("HTMLOptionElement"),
|
||||
NS_GET_IID(nsIScriptObjectOwner),
|
||||
kHTMLOptionElementCID,
|
||||
PR_TRUE);
|
||||
|
||||
Reference in New Issue
Block a user