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.
All rights reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
8 * (C) 2007 Eric Seidel (eric@webkit.org) | 8 * (C) 2007 Eric Seidel (eric@webkit.org) |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1523 ContainerNode::removedFrom(insertionPoint); | 1523 ContainerNode::removedFrom(insertionPoint); |
1524 if (wasInDocument) { | 1524 if (wasInDocument) { |
1525 if (this == document().cssTarget()) | 1525 if (this == document().cssTarget()) |
1526 document().setCSSTarget(nullptr); | 1526 document().setCSSTarget(nullptr); |
1527 | 1527 |
1528 if (hasPendingResources()) | 1528 if (hasPendingResources()) |
1529 document().accessSVGExtensions().removeElementFromPendingResources(t
his); | 1529 document().accessSVGExtensions().removeElementFromPendingResources(t
his); |
1530 | 1530 |
1531 if (isUpgradedCustomElement()) | 1531 if (isUpgradedCustomElement()) |
1532 CustomElement::didDetach(this, insertionPoint->document()); | 1532 CustomElement::didDetach(this, insertionPoint->document()); |
| 1533 |
| 1534 if (needsStyleInvalidation()) |
| 1535 document().styleEngine().styleInvalidator().clearInvalidation(*this)
; |
1533 } | 1536 } |
1534 | 1537 |
1535 document().removeFromTopLayer(this); | 1538 document().removeFromTopLayer(this); |
1536 | 1539 |
1537 clearElementFlag(IsInCanvasSubtree); | 1540 clearElementFlag(IsInCanvasSubtree); |
1538 | 1541 |
1539 if (hasRareData()) { | 1542 if (hasRareData()) { |
1540 ElementRareData* data = elementRareData(); | 1543 ElementRareData* data = elementRareData(); |
1541 | 1544 |
1542 data->clearRestyleFlags(); | 1545 data->clearRestyleFlags(); |
(...skipping 2103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3646 { | 3649 { |
3647 #if ENABLE(OILPAN) | 3650 #if ENABLE(OILPAN) |
3648 if (hasRareData()) | 3651 if (hasRareData()) |
3649 visitor->trace(elementRareData()); | 3652 visitor->trace(elementRareData()); |
3650 visitor->trace(m_elementData); | 3653 visitor->trace(m_elementData); |
3651 #endif | 3654 #endif |
3652 ContainerNode::trace(visitor); | 3655 ContainerNode::trace(visitor); |
3653 } | 3656 } |
3654 | 3657 |
3655 } // namespace blink | 3658 } // namespace blink |
OLD | NEW |