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

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

Issue 20123003: [oilpan] The Node hierarchy should have correct accept method chains (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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) 2000 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 Node::NodeType EntityReference::nodeType() const 45 Node::NodeType EntityReference::nodeType() const
46 { 46 {
47 return ENTITY_REFERENCE_NODE; 47 return ENTITY_REFERENCE_NODE;
48 } 48 }
49 49
50 PassRefPtr<Node> EntityReference::cloneNode(bool) 50 PassRefPtr<Node> EntityReference::cloneNode(bool)
51 { 51 {
52 return create(document(), m_entityName); 52 return create(document(), m_entityName);
53 } 53 }
54 54
55 void EntityReference::acceptHeapVisitor(Visitor* visitor) const
56 {
57 ContainerNode::acceptHeapVisitor(visitor);
58 }
59
55 } // namespace 60 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698