OLD | NEW |
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 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2008 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 15 matching lines...) Expand all Loading... |
26 | 26 |
27 namespace WebCore { | 27 namespace WebCore { |
28 | 28 |
29 // FIXME: This abstract class is only here so that the JavaScript and bindings c
an continue to be compiled. | 29 // FIXME: This abstract class is only here so that the JavaScript and bindings c
an continue to be compiled. |
30 class Entity : public ContainerNode { | 30 class Entity : public ContainerNode { |
31 public: | 31 public: |
32 String publicId() const { ASSERT_NOT_REACHED(); return String(); } | 32 String publicId() const { ASSERT_NOT_REACHED(); return String(); } |
33 String systemId() const { ASSERT_NOT_REACHED(); return String(); } | 33 String systemId() const { ASSERT_NOT_REACHED(); return String(); } |
34 String notationName() const { ASSERT_NOT_REACHED(); return String(); } | 34 String notationName() const { ASSERT_NOT_REACHED(); return String(); } |
35 | 35 |
| 36 void acceptHeapVisitor(Visitor* visitor) const OVERRIDE |
| 37 { |
| 38 ContainerNode::acceptHeapVisitor(visitor); |
| 39 } |
| 40 |
36 private: | 41 private: |
37 Entity() : ContainerNode(nullptr) | 42 Entity() : ContainerNode(nullptr) |
38 { | 43 { |
39 ScriptWrappable::init(this); | 44 ScriptWrappable::init(this); |
40 } | 45 } |
41 }; | 46 }; |
42 | 47 |
43 } //namespace | 48 } //namespace |
44 | 49 |
45 #endif | 50 #endif |
OLD | NEW |