Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz

This commit is contained in:
cvshook@sicking.cc
2006-05-05 06:52:21 +00:00
parent c59b5e3eb0
commit 5df20de104
98 changed files with 365 additions and 345 deletions

View File

@@ -1696,7 +1696,7 @@ ChromeContextMenuListener::ContextMenu(nsIDOMEvent* aMouseEvent)
do {
// XXX test for selected text
content = do_QueryInterface(node);
if (content && content->IsContentOfType(nsIContent::eHTML)) {
if (content && content->IsNodeOfType(nsINode::eHTML)) {
const char *tagStr;
content->Tag()->GetUTF8String(&tagStr);