Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron
This commit is contained in:
@@ -692,7 +692,7 @@ PRInt32 nsTableCellFrame::GetRowSpan()
|
||||
nsGenericHTMLElement *hc = nsGenericHTMLElement::FromContent(mContent);
|
||||
|
||||
// Don't look at the content's rowspan if we're a pseudo cell
|
||||
if (hc && !GetStyleContext()->GetPseudoType()) {
|
||||
if (hc && !GetStyleContext()->GetPseudo()) {
|
||||
const nsAttrValue* attr = hc->GetParsedAttr(nsGkAtoms::rowspan);
|
||||
// Note that we don't need to check the tag name, because only table cells
|
||||
// and table headers parse the "rowspan" attribute into an integer.
|
||||
@@ -709,7 +709,7 @@ PRInt32 nsTableCellFrame::GetColSpan()
|
||||
nsGenericHTMLElement *hc = nsGenericHTMLElement::FromContent(mContent);
|
||||
|
||||
// Don't look at the content's colspan if we're a pseudo cell
|
||||
if (hc && !GetStyleContext()->GetPseudoType()) {
|
||||
if (hc && !GetStyleContext()->GetPseudo()) {
|
||||
const nsAttrValue* attr = hc->GetParsedAttr(nsGkAtoms::colspan);
|
||||
// Note that we don't need to check the tag name, because only table cells
|
||||
// and table headers parse the "colspan" attribute into an integer.
|
||||
|
||||
Reference in New Issue
Block a user