Index: Source/core/testing/Internals.h |
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h |
index 3b2a762bba9e43ef93a0c6152780fa03a838dcc4..0d5287629083ed0d1a180918493f86cb25cef0b5 100644 |
--- a/Source/core/testing/Internals.h |
+++ b/Source/core/testing/Internals.h |
@@ -102,8 +102,8 @@ public: |
bool hasShadowInsertionPoint(const Node*, ExceptionState&) const; |
bool hasContentElement(const Node*, ExceptionState&) const; |
size_t countElementShadow(const Node*, ExceptionState&) const; |
- String shadowPseudoId(Element*, ExceptionState&); |
- void setShadowPseudoId(Element*, const String&, ExceptionState&); |
+ const AtomicString& shadowPseudoId(Element*, ExceptionState&); |
+ void setShadowPseudoId(Element*, const AtomicString&, ExceptionState&); |
// CSS Animation / Transition testing. |
unsigned numberOfActiveAnimations() const; |
@@ -113,9 +113,9 @@ public: |
bool isValidContentSelect(Element* insertionPoint, ExceptionState&); |
Node* treeScopeRootNode(Node*, ExceptionState&); |
Node* parentTreeScope(Node*, ExceptionState&); |
- bool hasSelectorForIdInShadow(Element* host, const String& idValue, ExceptionState&); |
- bool hasSelectorForClassInShadow(Element* host, const String& className, ExceptionState&); |
- bool hasSelectorForAttributeInShadow(Element* host, const String& attributeName, ExceptionState&); |
+ bool hasSelectorForIdInShadow(Element* host, const AtomicString& idValue, ExceptionState&); |
+ bool hasSelectorForClassInShadow(Element* host, const AtomicString& className, ExceptionState&); |
+ bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attributeName, ExceptionState&); |
bool hasSelectorForPseudoClassInShadow(Element* host, const String& pseudoClass, ExceptionState&); |
unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionState&) const; |