| 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 1618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1629 ContainerNode::detach(context); | 1629 ContainerNode::detach(context); |
| 1630 | 1630 |
| 1631 if (!context.performingReattach && isUserActionElement()) { | 1631 if (!context.performingReattach && isUserActionElement()) { |
| 1632 if (hovered()) | 1632 if (hovered()) |
| 1633 document().hoveredNodeDetached(*this); | 1633 document().hoveredNodeDetached(*this); |
| 1634 if (inActiveChain()) | 1634 if (inActiveChain()) |
| 1635 document().activeChainNodeDetached(*this); | 1635 document().activeChainNodeDetached(*this); |
| 1636 document().userActionElements().didDetach(*this); | 1636 document().userActionElements().didDetach(*this); |
| 1637 } | 1637 } |
| 1638 | 1638 |
| 1639 document().styleEngine().styleInvalidator().clearInvalidation(*this); | 1639 if (context.clearInvalidation) |
| 1640 document().styleEngine().styleInvalidator().clearInvalidation(*this); |
| 1640 | 1641 |
| 1641 if (svgFilterNeedsLayerUpdate()) | 1642 if (svgFilterNeedsLayerUpdate()) |
| 1642 document().unscheduleSVGFilterLayerUpdateHack(*this); | 1643 document().unscheduleSVGFilterLayerUpdateHack(*this); |
| 1643 | 1644 |
| 1644 ASSERT(needsAttach()); | 1645 ASSERT(needsAttach()); |
| 1645 } | 1646 } |
| 1646 | 1647 |
| 1647 bool Element::pseudoStyleCacheIsInvalid(const ComputedStyle* currentStyle, Compu
tedStyle* newStyle) | 1648 bool Element::pseudoStyleCacheIsInvalid(const ComputedStyle* currentStyle, Compu
tedStyle* newStyle) |
| 1648 { | 1649 { |
| 1649 ASSERT(currentStyle == computedStyle()); | 1650 ASSERT(currentStyle == computedStyle()); |
| (...skipping 1999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3649 { | 3650 { |
| 3650 #if ENABLE(OILPAN) | 3651 #if ENABLE(OILPAN) |
| 3651 if (hasRareData()) | 3652 if (hasRareData()) |
| 3652 visitor->trace(elementRareData()); | 3653 visitor->trace(elementRareData()); |
| 3653 visitor->trace(m_elementData); | 3654 visitor->trace(m_elementData); |
| 3654 #endif | 3655 #endif |
| 3655 ContainerNode::trace(visitor); | 3656 ContainerNode::trace(visitor); |
| 3656 } | 3657 } |
| 3657 | 3658 |
| 3658 } // namespace blink | 3659 } // namespace blink |
| OLD | NEW |