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

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

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: non-oilpan build Created 6 years, 7 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 | Annotate | Revision Log
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 5652 matching lines...) Expand 10 before | Expand all | Expand 10 after
5663 // perform weak processing of the registry when the document is active. 5663 // perform weak processing of the registry when the document is active.
5664 if (registry && isActive()) 5664 if (registry && isActive())
5665 registry->clearWeakMembers(visitor); 5665 registry->clearWeakMembers(visitor);
5666 } 5666 }
5667 5667
5668 void Document::trace(Visitor* visitor) 5668 void Document::trace(Visitor* visitor)
5669 { 5669 {
5670 visitor->trace(m_styleSheetList); 5670 visitor->trace(m_styleSheetList);
5671 visitor->trace(m_visibilityObservers); 5671 visitor->trace(m_visibilityObservers);
5672 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); 5672 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this);
5673 Supplementable<Document>::trace(visitor); 5673 WillBeHeapSupplementable<Document>::trace(visitor);
sof 2014/04/29 13:40:21 nit: DocumentSupplementable::trace() would be shor
zerny-chromium 2014/04/29 15:10:36 Done.
5674 TreeScope::trace(visitor); 5674 TreeScope::trace(visitor);
5675 ContainerNode::trace(visitor); 5675 ContainerNode::trace(visitor);
5676 } 5676 }
5677 5677
5678 } // namespace WebCore 5678 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698