Index: third_party/WebKit/Source/core/dom/DOMTokenList.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DOMTokenList.cpp b/third_party/WebKit/Source/core/dom/DOMTokenList.cpp |
index e7d658e2a95146c7b8e8692f64b1320db8fa6b13..48c9c6207c0d63ce01a47928610d46ac11d43a62 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMTokenList.cpp |
+++ b/third_party/WebKit/Source/core/dom/DOMTokenList.cpp |
@@ -67,10 +67,8 @@ bool DOMTokenList::ValidateTokenValue(const AtomicString&, |
return false; |
} |
-bool DOMTokenList::contains(const AtomicString& token, |
- ExceptionState& exception_state) const { |
- if (!ValidateToken(token, exception_state)) |
- return false; |
+bool DOMTokenList::contains(const AtomicString& token) const { |
+ // https://dom.spec.whatwg.org/#dom-domtokenlist-contains |
kochi
2017/05/23 04:15:01
nit: comment above function? (see line 63 for exam
tkent
2017/05/23 05:19:38
Done.
|
return ContainsInternal(token); |
} |