On Mon, Jan 6, 2014 at 11:49 PM, Geoffrey Garen <[email protected]> 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
> [email protected]
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev