| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 3927f3208e95baf11d350283c9eaf0a3fb7db298..c8fbd4d511cbbb8bdd910920a688fc0fa3390b37 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -396,16 +396,6 @@ bool Internals::hasSelectorForAttributeInShadow(Element* host, const AtomicStrin
|
| return host->shadow()->ensureSelectFeatureSet().hasSelectorForAttribute(attributeName);
|
| }
|
|
|
| -bool Internals::hasSelectorForPseudoClassInShadow(Element* host, const String& pseudoClass, ExceptionState& exceptionState)
|
| -{
|
| - ASSERT(host);
|
| - if (!host->shadow()) {
|
| - exceptionState.throwDOMException(InvalidAccessError, "The host element does not have a shadow.");
|
| - return 0;
|
| - }
|
| - return host->shadow()->ensureSelectFeatureSet().hasSelectorForPseudoType(CSSSelector::parsePseudoType(AtomicString(pseudoClass), false));
|
| -}
|
| -
|
| unsigned short Internals::compareTreeScopePosition(const Node* node1, const Node* node2, ExceptionState& exceptionState) const
|
| {
|
| ASSERT(node1 && node2);
|
|
|