OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * (C) 2007 David Smith (catfish.man@gmail.com) | 6 * (C) 2007 David Smith (catfish.man@gmail.com) |
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. |
8 * All rights reserved. | 8 * All rights reserved. |
9 * (C) 2007 Eric Seidel (eric@webkit.org) | 9 * (C) 2007 Eric Seidel (eric@webkit.org) |
10 * | 10 * |
(...skipping 1655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1666 } | 1666 } |
1667 | 1667 |
1668 ContainerNode::removedFrom(insertionPoint); | 1668 ContainerNode::removedFrom(insertionPoint); |
1669 if (wasInDocument) { | 1669 if (wasInDocument) { |
1670 if (this == document().cssTarget()) | 1670 if (this == document().cssTarget()) |
1671 document().setCSSTarget(nullptr); | 1671 document().setCSSTarget(nullptr); |
1672 | 1672 |
1673 if (hasPendingResources()) { | 1673 if (hasPendingResources()) { |
1674 treeScope() | 1674 treeScope() |
1675 .ensureSVGTreeScopedResources() | 1675 .ensureSVGTreeScopedResources() |
1676 .removeElementFromPendingResources(this); | 1676 .removeElementFromPendingResources(*this); |
1677 } | 1677 } |
1678 | 1678 |
1679 if (getCustomElementState() == CustomElementState::Custom) | 1679 if (getCustomElementState() == CustomElementState::Custom) |
1680 CustomElement::enqueueDisconnectedCallback(this); | 1680 CustomElement::enqueueDisconnectedCallback(this); |
1681 else if (isUpgradedV0CustomElement()) | 1681 else if (isUpgradedV0CustomElement()) |
1682 V0CustomElement::didDetach(this, insertionPoint->document()); | 1682 V0CustomElement::didDetach(this, insertionPoint->document()); |
1683 | 1683 |
1684 if (needsStyleInvalidation()) | 1684 if (needsStyleInvalidation()) |
1685 document().styleEngine().styleInvalidator().clearInvalidation(*this); | 1685 document().styleEngine().styleInvalidator().clearInvalidation(*this); |
1686 } | 1686 } |
(...skipping 2541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4228 } | 4228 } |
4229 | 4229 |
4230 DEFINE_TRACE_WRAPPERS(Element) { | 4230 DEFINE_TRACE_WRAPPERS(Element) { |
4231 if (hasRareData()) { | 4231 if (hasRareData()) { |
4232 visitor->traceWrappers(elementRareData()); | 4232 visitor->traceWrappers(elementRareData()); |
4233 } | 4233 } |
4234 ContainerNode::traceWrappers(visitor); | 4234 ContainerNode::traceWrappers(visitor); |
4235 } | 4235 } |
4236 | 4236 |
4237 } // namespace blink | 4237 } // namespace blink |
OLD | NEW |