Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: Source/core/dom/Document.cpp

Issue 296703009: Oilpan: move custom element objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix compilation issue pointed out by clang Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/dom/DocumentInit.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 m_focusedElement = nullptr; 613 m_focusedElement = nullptr;
614 m_hoverNode = nullptr; 614 m_hoverNode = nullptr;
615 m_activeHoverElement = nullptr; 615 m_activeHoverElement = nullptr;
616 m_titleElement = nullptr; 616 m_titleElement = nullptr;
617 m_documentElement = nullptr; 617 m_documentElement = nullptr;
618 m_contextFeatures = ContextFeatures::defaultSwitch(); 618 m_contextFeatures = ContextFeatures::defaultSwitch();
619 m_userActionElements.documentDidRemoveLastRef(); 619 m_userActionElements.documentDidRemoveLastRef();
620 m_associatedFormControls.clear(); 620 m_associatedFormControls.clear();
621 621
622 detachParser(); 622 detachParser();
623 #endif
624 623
625 m_registrationContext.clear(); 624 m_registrationContext.clear();
625 #endif
626 626
627 if (m_importsController) { 627 if (m_importsController) {
628 m_importsController->wasDetachedFrom(*this); 628 m_importsController->wasDetachedFrom(*this);
629 m_importsController = 0; 629 m_importsController = 0;
630 } 630 }
631 631
632 #if !ENABLE(OILPAN) 632 #if !ENABLE(OILPAN)
633 // removeDetachedChildren() doesn't always unregister IDs, 633 // removeDetachedChildren() doesn't always unregister IDs,
634 // so tear down scope information upfront to avoid having stale references i n the map. 634 // so tear down scope information upfront to avoid having stale references i n the map.
635 destroyTreeScopeData(); 635 destroyTreeScopeData();
(...skipping 5144 matching lines...) Expand 10 before | Expand all | Expand 10 after
5780 visitor->trace(m_elemSheet); 5780 visitor->trace(m_elemSheet);
5781 visitor->trace(m_nodeIterators); 5781 visitor->trace(m_nodeIterators);
5782 visitor->trace(m_styleEngine); 5782 visitor->trace(m_styleEngine);
5783 visitor->trace(m_formController); 5783 visitor->trace(m_formController);
5784 visitor->trace(m_domWindow); 5784 visitor->trace(m_domWindow);
5785 visitor->trace(m_fetcher); 5785 visitor->trace(m_fetcher);
5786 visitor->trace(m_parser); 5786 visitor->trace(m_parser);
5787 visitor->trace(m_contextFeatures); 5787 visitor->trace(m_contextFeatures);
5788 visitor->trace(m_styleSheetList); 5788 visitor->trace(m_styleSheetList);
5789 visitor->trace(m_mediaQueryMatcher); 5789 visitor->trace(m_mediaQueryMatcher);
5790 visitor->trace(m_registrationContext);
5790 visitor->trace(m_associatedFormControls); 5791 visitor->trace(m_associatedFormControls);
5791 visitor->trace(m_templateDocument); 5792 visitor->trace(m_templateDocument);
5792 visitor->trace(m_templateDocumentHost); 5793 visitor->trace(m_templateDocumentHost);
5793 visitor->trace(m_visibilityObservers); 5794 visitor->trace(m_visibilityObservers);
5794 visitor->trace(m_userActionElements); 5795 visitor->trace(m_userActionElements);
5795 visitor->trace(m_svgExtensions); 5796 visitor->trace(m_svgExtensions);
5796 visitor->trace(m_timeline); 5797 visitor->trace(m_timeline);
5797 visitor->trace(m_compositorPendingAnimations); 5798 visitor->trace(m_compositorPendingAnimations);
5798 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); 5799 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this);
5799 DocumentSupplementable::trace(visitor); 5800 DocumentSupplementable::trace(visitor);
5800 TreeScope::trace(visitor); 5801 TreeScope::trace(visitor);
5801 ContainerNode::trace(visitor); 5802 ContainerNode::trace(visitor);
5802 ExecutionContext::trace(visitor); 5803 ExecutionContext::trace(visitor);
5803 } 5804 }
5804 5805
5805 } // namespace WebCore 5806 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/dom/DocumentInit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698