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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 m_focusedElement = nullptr; | 615 m_focusedElement = nullptr; |
616 m_hoverNode = nullptr; | 616 m_hoverNode = nullptr; |
617 m_activeHoverElement = nullptr; | 617 m_activeHoverElement = nullptr; |
618 m_titleElement = nullptr; | 618 m_titleElement = nullptr; |
619 m_documentElement = nullptr; | 619 m_documentElement = nullptr; |
620 m_contextFeatures = ContextFeatures::defaultSwitch(); | 620 m_contextFeatures = ContextFeatures::defaultSwitch(); |
621 m_userActionElements.documentDidRemoveLastRef(); | 621 m_userActionElements.documentDidRemoveLastRef(); |
622 m_associatedFormControls.clear(); | 622 m_associatedFormControls.clear(); |
623 | 623 |
624 detachParser(); | 624 detachParser(); |
625 #endif | |
626 | 625 |
627 m_registrationContext.clear(); | 626 m_registrationContext.clear(); |
| 627 #endif |
628 | 628 |
629 if (m_importsController) { | 629 if (m_importsController) { |
630 m_importsController->wasDetachedFrom(*this); | 630 m_importsController->wasDetachedFrom(*this); |
631 m_importsController = 0; | 631 m_importsController = 0; |
632 } | 632 } |
633 | 633 |
634 #if !ENABLE(OILPAN) | 634 #if !ENABLE(OILPAN) |
635 // removeDetachedChildren() doesn't always unregister IDs, | 635 // removeDetachedChildren() doesn't always unregister IDs, |
636 // so tear down scope information upfront to avoid having stale references i
n the map. | 636 // so tear down scope information upfront to avoid having stale references i
n the map. |
637 destroyTreeScopeData(); | 637 destroyTreeScopeData(); |
(...skipping 5133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5771 visitor->trace(m_topLayerElements); | 5771 visitor->trace(m_topLayerElements); |
5772 visitor->trace(m_elemSheet); | 5772 visitor->trace(m_elemSheet); |
5773 visitor->trace(m_nodeIterators); | 5773 visitor->trace(m_nodeIterators); |
5774 visitor->trace(m_styleEngine); | 5774 visitor->trace(m_styleEngine); |
5775 visitor->trace(m_formController); | 5775 visitor->trace(m_formController); |
5776 visitor->trace(m_fetcher); | 5776 visitor->trace(m_fetcher); |
5777 visitor->trace(m_parser); | 5777 visitor->trace(m_parser); |
5778 visitor->trace(m_contextFeatures); | 5778 visitor->trace(m_contextFeatures); |
5779 visitor->trace(m_styleSheetList); | 5779 visitor->trace(m_styleSheetList); |
5780 visitor->trace(m_mediaQueryMatcher); | 5780 visitor->trace(m_mediaQueryMatcher); |
| 5781 visitor->trace(m_registrationContext); |
5781 visitor->trace(m_associatedFormControls); | 5782 visitor->trace(m_associatedFormControls); |
5782 visitor->trace(m_templateDocument); | 5783 visitor->trace(m_templateDocument); |
5783 visitor->trace(m_templateDocumentHost); | 5784 visitor->trace(m_templateDocumentHost); |
5784 visitor->trace(m_visibilityObservers); | 5785 visitor->trace(m_visibilityObservers); |
5785 visitor->trace(m_userActionElements); | 5786 visitor->trace(m_userActionElements); |
5786 visitor->trace(m_svgExtensions); | 5787 visitor->trace(m_svgExtensions); |
5787 visitor->trace(m_timeline); | 5788 visitor->trace(m_timeline); |
5788 visitor->trace(m_compositorPendingAnimations); | 5789 visitor->trace(m_compositorPendingAnimations); |
5789 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); | 5790 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); |
5790 DocumentSupplementable::trace(visitor); | 5791 DocumentSupplementable::trace(visitor); |
5791 TreeScope::trace(visitor); | 5792 TreeScope::trace(visitor); |
5792 ContainerNode::trace(visitor); | 5793 ContainerNode::trace(visitor); |
5793 ExecutionContext::trace(visitor); | 5794 ExecutionContext::trace(visitor); |
5794 } | 5795 } |
5795 | 5796 |
5796 } // namespace WebCore | 5797 } // namespace WebCore |
OLD | NEW |