Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220874 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user