| Index: Source/core/dom/NonDocumentTypeChildNode.h
|
| diff --git a/Source/core/dom/ChildNode.h b/Source/core/dom/NonDocumentTypeChildNode.h
|
| similarity index 72%
|
| copy from Source/core/dom/ChildNode.h
|
| copy to Source/core/dom/NonDocumentTypeChildNode.h
|
| index 749e4be02c0cedf766a7261389ef1a7bd734a668..24ce87a7e5f886da12aac46ffe0243072f4eb7d1 100644
|
| --- a/Source/core/dom/ChildNode.h
|
| +++ b/Source/core/dom/NonDocumentTypeChildNode.h
|
| @@ -2,15 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef ChildNode_h
|
| -#define ChildNode_h
|
| +#ifndef NonDocumentTypeChildNode_h
|
| +#define NonDocumentTypeChildNode_h
|
|
|
| #include "core/dom/ElementTraversal.h"
|
| #include "core/dom/Node.h"
|
|
|
| namespace blink {
|
|
|
| -class ChildNode {
|
| +class NonDocumentTypeChildNode {
|
| public:
|
| static Element* previousElementSibling(Node& node)
|
| {
|
| @@ -21,13 +21,8 @@ public:
|
| {
|
| return ElementTraversal::nextSibling(node);
|
| }
|
| -
|
| - static void remove(Node& node, ExceptionState& exceptionState)
|
| - {
|
| - return node.remove(exceptionState);
|
| - }
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // ChildNode_h
|
| +#endif // NonDocumentTypeChildNode_h
|
|
|