OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2013 Apple Inc. All rights reserved. |
3 * Copyright (C) 2014 Samsung Electronics. All rights reserved. | 3 * Copyright (C) 2014 Samsung Electronics. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "core/dom/Node.h" | 35 #include "core/dom/Node.h" |
36 #include "core/dom/NodeRareData.h" | 36 #include "core/dom/NodeRareData.h" |
37 | 37 |
38 namespace WebCore { | 38 namespace WebCore { |
39 | 39 |
40 EmptyNodeList::~EmptyNodeList() | 40 EmptyNodeList::~EmptyNodeList() |
41 { | 41 { |
42 m_owner->nodeLists()->removeEmptyChildNodeList(this); | 42 m_owner->nodeLists()->removeEmptyChildNodeList(this); |
43 } | 43 } |
44 | 44 |
| 45 Node* EmptyNodeList::virtualOwnerNode() const |
| 46 { |
| 47 return ownerNode(); |
| 48 } |
| 49 |
45 } // namespace WebCore | 50 } // namespace WebCore |
OLD | NEW |