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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 m_cachedResourceLoader->setDocument(nullptr); | 567 m_cachedResourceLoader->setDocument(nullptr); |
568 m_cachedResourceLoader.clear(); | 568 m_cachedResourceLoader.clear(); |
569 | 569 |
570 clearDocumentScope(); | 570 clearDocumentScope(); |
571 | 571 |
572 HTMLMediaElement::forgetDocument(this); | 572 HTMLMediaElement::forgetDocument(this); |
573 | 573 |
574 InspectorCounters::decrementCounter(InspectorCounters::DocumentCounter); | 574 InspectorCounters::decrementCounter(InspectorCounters::DocumentCounter); |
575 } | 575 } |
576 | 576 |
577 void Document::visitWith(Visitor* visitor) const | 577 void Document::adjustAndMark(Visitor* visitor) const |
578 { | 578 { |
579 visitor->visit(this); | 579 visitor->mark(this); |
580 } | 580 } |
581 | 581 |
582 void Document::trace(Visitor* visitor) | 582 void Document::trace(Visitor* visitor) |
583 { | 583 { |
584 visitor->trace(m_ranges); | 584 visitor->trace(m_ranges); |
585 visitor->trace(m_mediaVolumeCallbackElements); | 585 visitor->trace(m_mediaVolumeCallbackElements); |
586 visitor->trace(m_mediaCanStartListeners); | 586 visitor->trace(m_mediaCanStartListeners); |
587 visitor->trace(m_captionPreferencesChangedElements); | 587 visitor->trace(m_captionPreferencesChangedElements); |
588 visitor->trace(m_listsInvalidatedAtDocument); | 588 visitor->trace(m_listsInvalidatedAtDocument); |
589 for (unsigned type = 0; type < numNodeListInvalidationTypes; type++) | 589 for (unsigned type = 0; type < numNodeListInvalidationTypes; type++) |
(...skipping 5192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5782 return; | 5782 return; |
5783 | 5783 |
5784 HeapElementVector associatedFormControls; | 5784 HeapElementVector associatedFormControls; |
5785 copyToVector(m_associatedFormControls, associatedFormControls); | 5785 copyToVector(m_associatedFormControls, associatedFormControls); |
5786 | 5786 |
5787 frame()->page()->chrome()->client()->didAssociateFormControls(associatedForm
Controls); | 5787 frame()->page()->chrome()->client()->didAssociateFormControls(associatedForm
Controls); |
5788 m_associatedFormControls.clear(); | 5788 m_associatedFormControls.clear(); |
5789 } | 5789 } |
5790 | 5790 |
5791 } // namespace WebCore | 5791 } // namespace WebCore |
OLD | NEW |