for (CSSStyleSheetImpl* child = mFirstChild; child; child = child->mNext) { child->mDocument = aDocument; }
CSSStyleSheetImpl::SetOwningDocument(nsIDocument* aDocument){ // not ref counted  mDocument = aDocument;  return NS_OK;}