Index: sky/engine/core/dom/Element.cpp |
diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp |
index 04f19a0de690d4b165aa7c7e5355682d8f3d8c51..02677abc9497c9baf6848d72920a76db273f4414 100644 |
--- a/sky/engine/core/dom/Element.cpp |
+++ b/sky/engine/core/dom/Element.cpp |
@@ -1064,18 +1064,6 @@ ShadowRoot* Element::shadowRoot() const |
return elementShadow->youngestShadowRoot(); |
} |
-bool Element::childTypeAllowed(NodeType type) const |
-{ |
- switch (type) { |
- case ELEMENT_NODE: |
- case TEXT_NODE: |
- return true; |
- default: |
- break; |
- } |
- return false; |
-} |
- |
void Element::childrenChanged(const ChildrenChange& change) |
{ |
ContainerNode::childrenChanged(change); |