void XSLStyleSheet::loadChildSheet(const String& href) { OwnPtr<XSLImportRule> childRule = XSLImportRule::create(this, href); XSLImportRule* c = childRule.get(); m_children.append(childRule.release()); c->loadSheet(); }
void XSLStyleSheet::loadChildSheet(const String& href) { auto childRule = std::make_unique<XSLImportRule>(this, href); XSLImportRule* c = childRule.get(); m_children.append(childRule.release()); c->loadSheet(); }
void XSLStyleSheet::loadChildSheet(const String& href) { XSLImportRule* childRule = XSLImportRule::create(this, href); m_children.append(childRule); childRule->loadSheet(); }