Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc

This commit is contained in:
dbaron@dbaron.org
2007-02-24 18:33:33 +00:00
parent 611e9c0700
commit a4cc40910e
58 changed files with 232 additions and 284 deletions

View File

@@ -475,9 +475,3 @@ nsHTMLButtonControlFrame::RemoveFrame(nsIAtom* aListName,
NS_NOTREACHED("unsupported operation");
return NS_ERROR_UNEXPECTED;
}
PRBool
nsHTMLButtonControlFrame::IsFrameOfType(PRUint32 aFlags) const
{
return !(aFlags & ~(eReplaced | eReplacedContainsBlock));
}