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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
564 #if !ENABLE(OILPAN) | 564 #if !ENABLE(OILPAN) |
565 if (m_styleSheetList) | 565 if (m_styleSheetList) |
566 m_styleSheetList->detachFromDocument(); | 566 m_styleSheetList->detachFromDocument(); |
567 #endif | 567 #endif |
568 | 568 |
569 if (m_importsController) { | 569 if (m_importsController) { |
570 m_importsController->wasDetachedFrom(*this); | 570 m_importsController->wasDetachedFrom(*this); |
571 m_importsController = 0; | 571 m_importsController = 0; |
572 } | 572 } |
573 | 573 |
574 #if !ENABLE(OILPAN) | |
574 m_timeline->detachFromDocument(); | 575 m_timeline->detachFromDocument(); |
575 m_transitionTimeline->detachFromDocument(); | 576 m_transitionTimeline->detachFromDocument(); |
577 #endif | |
Mads Ager (chromium)
2014/05/15 08:36:54
We have multiple blocks of #if !ENABLE(OILPAN) her
haraken
2014/05/16 07:41:22
Done.
| |
576 | 578 |
577 #if !ENABLE(OILPAN) | 579 #if !ENABLE(OILPAN) |
578 // We need to destroy CSSFontSelector before destroying m_fetcher. | 580 // We need to destroy CSSFontSelector before destroying m_fetcher. |
579 if (m_styleEngine) | 581 if (m_styleEngine) |
580 m_styleEngine->detachFromDocument(); | 582 m_styleEngine->detachFromDocument(); |
581 | 583 |
582 if (m_elemSheet) | 584 if (m_elemSheet) |
583 m_elemSheet->clearOwnerNode(); | 585 m_elemSheet->clearOwnerNode(); |
584 | 586 |
585 // It's possible for multiple Documents to end up referencing the same Resou rceFetcher (e.g., SVGImages | 587 // It's possible for multiple Documents to end up referencing the same Resou rceFetcher (e.g., SVGImages |
(...skipping 5137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5723 visitor->trace(m_formController); | 5725 visitor->trace(m_formController); |
5724 visitor->trace(m_fetcher); | 5726 visitor->trace(m_fetcher); |
5725 visitor->trace(m_contextFeatures); | 5727 visitor->trace(m_contextFeatures); |
5726 visitor->trace(m_styleSheetList); | 5728 visitor->trace(m_styleSheetList); |
5727 visitor->trace(m_mediaQueryMatcher); | 5729 visitor->trace(m_mediaQueryMatcher); |
5728 visitor->trace(m_associatedFormControls); | 5730 visitor->trace(m_associatedFormControls); |
5729 visitor->trace(m_templateDocument); | 5731 visitor->trace(m_templateDocument); |
5730 visitor->trace(m_templateDocumentHost); | 5732 visitor->trace(m_templateDocumentHost); |
5731 visitor->trace(m_visibilityObservers); | 5733 visitor->trace(m_visibilityObservers); |
5732 visitor->trace(m_userActionElements); | 5734 visitor->trace(m_userActionElements); |
5735 visitor->trace(m_timeline); | |
5736 visitor->trace(m_transitionTimeline); | |
5737 visitor->trace(m_compositorPendingAnimations); | |
5733 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); | 5738 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); |
5734 DocumentSupplementable::trace(visitor); | 5739 DocumentSupplementable::trace(visitor); |
5735 TreeScope::trace(visitor); | 5740 TreeScope::trace(visitor); |
5736 ContainerNode::trace(visitor); | 5741 ContainerNode::trace(visitor); |
5737 ExecutionContext::trace(visitor); | 5742 ExecutionContext::trace(visitor); |
5738 } | 5743 } |
5739 | 5744 |
5740 } // namespace WebCore | 5745 } // namespace WebCore |
OLD | NEW |