Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index eb48a0c2f7d3ad6bb64d350b5536b3d8d0067ee8..ad4adce96d410e57a103676f185928a51c9d9dab 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -574,15 +574,6 @@ String Internals::elementRenderTreeAsText(Element* element, ExceptionState& exce |
return representation; |
} |
-size_t Internals::numberOfScopedHTMLStyleChildren(const Node* scope, ExceptionState& exceptionState) const |
-{ |
- if (scope && (scope->isElementNode() || scope->isShadowRoot())) |
- return scope->numberOfScopedHTMLStyleChildren(); |
- |
- exceptionState.throwDOMException(InvalidAccessError, ExceptionMessages::argumentNullOrIncorrectType(1, "Node")); |
- return 0; |
-} |
- |
PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> Internals::computedStyleIncludingVisitedInfo(Node* node, ExceptionState& exceptionState) const |
{ |
if (!node) { |