editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548

git-svn-id: svn://10.0.0.236/trunk@144881 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com
2003-07-15 13:47:15 +00:00
parent c72fcc1fd4
commit f90cd30f83
14 changed files with 162 additions and 236 deletions

View File

@@ -2106,7 +2106,7 @@ void RemoveBodyAndHead(nsIDOMNode *aNode)
{
body = child;
}
else if (nsEditor::NodeIsType(child, NS_LITERAL_STRING("head")))
else if (nsEditor::NodeIsType(child, nsEditProperty::head))
{
head = child;
}