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

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

Issue 307433003: Oilpan: Allocate all EventTarget derived types on the manged heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/events/EventTarget.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 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 2540 matching lines...) Expand 10 before | Expand all | Expand 10 after
2551 setNeedsStyleRecalc(SubtreeStyleChange); // :unresolved has changed 2551 setNeedsStyleRecalc(SubtreeStyleChange); // :unresolved has changed
2552 } 2552 }
2553 2553
2554 void Node::trace(Visitor* visitor) 2554 void Node::trace(Visitor* visitor)
2555 { 2555 {
2556 visitor->trace(m_parentOrShadowHostNode); 2556 visitor->trace(m_parentOrShadowHostNode);
2557 visitor->trace(m_previous); 2557 visitor->trace(m_previous);
2558 visitor->trace(m_next); 2558 visitor->trace(m_next);
2559 if (hasRareData()) 2559 if (hasRareData())
2560 visitor->trace(rareData()); 2560 visitor->trace(rareData());
2561
2562 visitor->trace(m_treeScope); 2561 visitor->trace(m_treeScope);
2562 EventTarget::trace(visitor);
2563 } 2563 }
2564 2564
2565 } // namespace WebCore 2565 } // namespace WebCore
2566 2566
2567 #ifndef NDEBUG 2567 #ifndef NDEBUG
2568 2568
2569 void showNode(const WebCore::Node* node) 2569 void showNode(const WebCore::Node* node)
2570 { 2570 {
2571 if (node) 2571 if (node)
2572 node->showNode(""); 2572 node->showNode("");
2573 } 2573 }
2574 2574
2575 void showTree(const WebCore::Node* node) 2575 void showTree(const WebCore::Node* node)
2576 { 2576 {
2577 if (node) 2577 if (node)
2578 node->showTreeForThis(); 2578 node->showTreeForThis();
2579 } 2579 }
2580 2580
2581 void showNodePath(const WebCore::Node* node) 2581 void showNodePath(const WebCore::Node* node)
2582 { 2582 {
2583 if (node) 2583 if (node)
2584 node->showNodePathForThis(); 2584 node->showNodePathForThis();
2585 } 2585 }
2586 2586
2587 #endif 2587 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/events/EventTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698