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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 m_importsController->wasDetachedFrom(*this); | 632 m_importsController->wasDetachedFrom(*this); |
633 m_importsController = 0; | 633 m_importsController = 0; |
634 } | 634 } |
635 | 635 |
636 #if !ENABLE(OILPAN) | 636 #if !ENABLE(OILPAN) |
637 // removeDetachedChildren() doesn't always unregister IDs, | 637 // removeDetachedChildren() doesn't always unregister IDs, |
638 // so tear down scope information upfront to avoid having stale references i
n the map. | 638 // so tear down scope information upfront to avoid having stale references i
n the map. |
639 destroyTreeScopeData(); | 639 destroyTreeScopeData(); |
640 | 640 |
641 removeDetachedChildren(); | 641 removeDetachedChildren(); |
642 #endif | |
643 | 642 |
644 // removeDetachedChildren() can access FormController. | 643 // removeDetachedChildren() can access FormController. |
645 m_formController.clear(); | 644 m_formController.clear(); |
646 | 645 |
647 #if !ENABLE(OILPAN) | |
648 m_markers->clear(); | 646 m_markers->clear(); |
649 | 647 |
650 m_cssCanvasElements.clear(); | 648 m_cssCanvasElements.clear(); |
651 #endif | 649 #endif |
652 | 650 |
653 // FIXME: consider using ActiveDOMObject. | 651 // FIXME: consider using ActiveDOMObject. |
654 if (m_scriptedAnimationController) | 652 if (m_scriptedAnimationController) |
655 m_scriptedAnimationController->clearDocumentPointer(); | 653 m_scriptedAnimationController->clearDocumentPointer(); |
656 m_scriptedAnimationController.clear(); | 654 m_scriptedAnimationController.clear(); |
657 | 655 |
(...skipping 5041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5699 visitor->trace(m_hoverNode); | 5697 visitor->trace(m_hoverNode); |
5700 visitor->trace(m_activeHoverElement); | 5698 visitor->trace(m_activeHoverElement); |
5701 visitor->trace(m_documentElement); | 5699 visitor->trace(m_documentElement); |
5702 visitor->trace(m_titleElement); | 5700 visitor->trace(m_titleElement); |
5703 visitor->trace(m_currentScriptStack); | 5701 visitor->trace(m_currentScriptStack); |
5704 visitor->trace(m_transformSourceDocument); | 5702 visitor->trace(m_transformSourceDocument); |
5705 visitor->trace(m_cssCanvasElements); | 5703 visitor->trace(m_cssCanvasElements); |
5706 visitor->trace(m_topLayerElements); | 5704 visitor->trace(m_topLayerElements); |
5707 visitor->trace(m_elemSheet); | 5705 visitor->trace(m_elemSheet); |
5708 visitor->trace(m_styleEngine); | 5706 visitor->trace(m_styleEngine); |
| 5707 visitor->trace(m_formController); |
5709 visitor->trace(m_fetcher); | 5708 visitor->trace(m_fetcher); |
5710 visitor->trace(m_contextFeatures); | 5709 visitor->trace(m_contextFeatures); |
5711 visitor->trace(m_styleSheetList); | 5710 visitor->trace(m_styleSheetList); |
5712 visitor->trace(m_mediaQueryMatcher); | 5711 visitor->trace(m_mediaQueryMatcher); |
5713 visitor->trace(m_associatedFormControls); | 5712 visitor->trace(m_associatedFormControls); |
5714 visitor->trace(m_templateDocument); | 5713 visitor->trace(m_templateDocument); |
5715 visitor->trace(m_templateDocumentHost); | 5714 visitor->trace(m_templateDocumentHost); |
5716 visitor->trace(m_visibilityObservers); | 5715 visitor->trace(m_visibilityObservers); |
5717 visitor->trace(m_userActionElements); | 5716 visitor->trace(m_userActionElements); |
5718 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); | 5717 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); |
5719 DocumentSupplementable::trace(visitor); | 5718 DocumentSupplementable::trace(visitor); |
5720 TreeScope::trace(visitor); | 5719 TreeScope::trace(visitor); |
5721 ContainerNode::trace(visitor); | 5720 ContainerNode::trace(visitor); |
5722 ExecutionContext::trace(visitor); | 5721 ExecutionContext::trace(visitor); |
5723 } | 5722 } |
5724 | 5723 |
5725 } // namespace WebCore | 5724 } // namespace WebCore |
OLD | NEW |