On Mon, Jan 6, 2014 at 11:49 PM, Geoffrey Garen <gga...@apple.com> wrote:

>
> (2) ApplyStyleCommand.cpp:
>
>     auto children = elementChildren(*dummySpanAncestor);
>     for (auto child = children.begin(), end = children.end(); child !=
> end; ++child) {
> *        if (isSpanWithoutAttributesOrUnstyledStyleSpan(&*child))*
> *            toRemove.append(&*child);*
>     }
>

You are looking at a pretty old revision. In ToT this looks like

    for (auto& child : childrenOfType<Element>(*dummySpanAncestor)) {
        if (isSpanWithoutAttributesOrUnstyledStyleSpan(&child))
            toRemove.append(&child);
    }

  antti


>
> Thanks,
> Geoff
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to