section->GetParent(*getter_AddRefs(table));
section->GetParent(getter_AddRefs(table));
nsHTMLTableCellElement::WalkContentStyleRules(nsRuleWalker* aRuleWalker){  // get table, add its rules too  // XXX can we safely presume structure or do we need to QI on the way up?  nsCOMPtr<nsIContent> row;  GetParent(*getter_AddRefs(row));  if (row) {    nsCOMPtr<nsIContent> section;    row->GetParent(*getter_AddRefs(section));    if (section) {      nsCOMPtr<nsIContent> table;      section->GetParent(*getter_AddRefs(table));      if (table) {        nsCOMPtr<nsIStyledContent> styledTable(do_QueryInterface(table));        if (styledTable) {          styledTable->WalkContentStyleRules(aRuleWalker);        }      }    }  }  return nsGenericHTMLContainerElement::WalkContentStyleRules(aRuleWalker);}