Set the command using the enumerated type rather than the string type.
git-svn-id: svn://10.0.0.236/trunk@64459 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1147,7 +1147,7 @@ NS_IMETHODIMP nsXULKeyListenerImpl::LoadKeyBindingDocument(nsIURI* aURI, nsIDOMX
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "unable to create parser");
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
parser->SetCommand("view");
|
||||
parser->SetCommand(eViewNormal);
|
||||
|
||||
nsAutoString utf8("UTF-8");
|
||||
parser->SetDocumentCharset(utf8, kCharsetFromDocTypeDefault);
|
||||
|
||||
Reference in New Issue
Block a user