| Index: third_party/WebKit/Source/core/dom/Element.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
|
| index 7a640326ea91f546cd304d3be6e6edf918c4bd0a..9653383d2b405b2d3e3c40a637d517d47c3dfcd8 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.h
|
| +++ b/third_party/WebKit/Source/core/dom/Element.h
|
| @@ -626,8 +626,15 @@ class CORE_EXPORT Element : public ContainerNode {
|
| virtual bool matchesReadOnlyPseudoClass() const { return false; }
|
| virtual bool matchesReadWritePseudoClass() const { return false; }
|
| virtual bool matchesValidityPseudoClasses() const { return false; }
|
| - bool matches(const String& selectors, ExceptionState&);
|
| - Element* closest(const String& selectors, ExceptionState&);
|
| +
|
| + // https://dom.spec.whatwg.org/#dom-element-matches
|
| + bool matches(const AtomicString& selectors,
|
| + ExceptionState& = ASSERT_NO_EXCEPTION);
|
| +
|
| + // https://dom.spec.whatwg.org/#dom-element-closest
|
| + Element* closest(const AtomicString& selectors,
|
| + ExceptionState& = ASSERT_NO_EXCEPTION);
|
| +
|
| virtual bool shouldAppearIndeterminate() const { return false; }
|
|
|
| DOMTokenList& classList();
|
|
|