Index: Source/core/dom/shadow/ShadowRoot.cpp |
diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp |
index bf2c4dc3f98e1a7906fe1dbf0b4950a794e5e8a9..df04baff7578eb330d42a14c29d9d396e889338a 100644 |
--- a/Source/core/dom/shadow/ShadowRoot.cpp |
+++ b/Source/core/dom/shadow/ShadowRoot.cpp |
@@ -148,20 +148,6 @@ void ShadowRoot::setInnerHTML(const String& markup, ExceptionState& exceptionSta |
replaceChildrenWithFragment(this, fragment.release(), exceptionState); |
} |
-bool ShadowRoot::childTypeAllowed(NodeType type) const |
-{ |
- switch (type) { |
- case ELEMENT_NODE: |
- case PROCESSING_INSTRUCTION_NODE: |
- case COMMENT_NODE: |
- case TEXT_NODE: |
- case CDATA_SECTION_NODE: |
- return true; |
- default: |
- return false; |
- } |
-} |
- |
void ShadowRoot::recalcStyle(StyleRecalcChange change) |
{ |
// ShadowRoot doesn't support custom callbacks. |