Example #1
0
void SVGStyleElement::childrenChanged(const ChildrenChange& change) {
  SVGElement::childrenChanged(change);
  if (StyleElement::childrenChanged(*this) ==
      StyleElement::ProcessingFatalError)
    notifyLoadedSheetAndAllCriticalSubresources(
        ErrorOccurredLoadingSubresource);
}
void SVGStyleElement::finishParsingChildren()
{
    StyleElement::ProcessingResult result = StyleElement::finishParsingChildren(this);
    SVGElement::finishParsingChildren();
    if (result == StyleElement::ProcessingFatalError)
        notifyLoadedSheetAndAllCriticalSubresources(ErrorOccurredLoadingSubresource);
}
Example #3
0
void SVGStyleElement::didNotifySubtreeInsertionsToDocument() {
  if (StyleElement::processStyleSheet(document(), *this) ==
      StyleElement::ProcessingFatalError)
    notifyLoadedSheetAndAllCriticalSubresources(
        ErrorOccurredLoadingSubresource);
}