    result.Append(names[i]);
  }
  result.Append(';');
  return result.ReleaseString();
}

void CSSLayerStatementRule::Reattach(StyleRuleBase* rule) {
  DCHECK(rule);
  layer_statement_rule_ = To<StyleRuleLayerStatement>(rule);
}

void CSSLayerStatementRule::Trace(Visitor* visitor) const {
  visitor->Trace(layer_statement_rule_);