| Index: sky/engine/core/dom/Element.cpp
|
| diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp
|
| index 2ff0dcc665f22b84e341c5040914005cf3aa8f54..e331e32556621f5f20c0faf7d6629c86a81bd35e 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);
|
|
|