| 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 21 matching lines...) Expand all Loading... |
| 32 #include "config.h" | 32 #include "config.h" |
| 33 #include "EmptyNodeList.h" | 33 #include "EmptyNodeList.h" |
| 34 | 34 |
| 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 #if !ENABLE(OILPAN) |
| 42 m_owner->nodeLists()->removeEmptyChildNodeList(this); | 43 m_owner->nodeLists()->removeEmptyChildNodeList(this); |
| 44 #endif |
| 43 } | 45 } |
| 44 | 46 |
| 45 Node* EmptyNodeList::virtualOwnerNode() const | 47 Node* EmptyNodeList::virtualOwnerNode() const |
| 46 { | 48 { |
| 47 return &ownerNode(); | 49 return &ownerNode(); |
| 48 } | 50 } |
| 49 | 51 |
| 52 void EmptyNodeList::trace(Visitor* visitor) |
| 53 { |
| 54 visitor->trace(m_owner); |
| 55 NodeList::trace(visitor); |
| 56 } |
| 57 |
| 50 } // namespace WebCore | 58 } // namespace WebCore |
| OLD | NEW |