Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: third_party/WebKit/Source/core/dom/DOMTokenList.h

Issue 2898063003: DOMTokenList.contains() should not throw. (Closed)
Patch Set: Move the comment Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/DOMTokenList.h
diff --git a/third_party/WebKit/Source/core/dom/DOMTokenList.h b/third_party/WebKit/Source/core/dom/DOMTokenList.h
index 5a51766ae860edbf808b1db912d4cfbae10b79b2..d7e8776c7027158c25bcef5969645a907232e0f6 100644
--- a/third_party/WebKit/Source/core/dom/DOMTokenList.h
+++ b/third_party/WebKit/Source/core/dom/DOMTokenList.h
@@ -60,7 +60,7 @@ class CORE_EXPORT DOMTokenList : public GarbageCollectedFinalized<DOMTokenList>,
virtual unsigned length() const { return tokens_.size(); }
virtual const AtomicString item(unsigned index) const;
- bool contains(const AtomicString&, ExceptionState&) const;
+ bool contains(const AtomicString&) const;
virtual void add(const Vector<String>&, ExceptionState&);
void add(const AtomicString&, ExceptionState&);
virtual void remove(const Vector<String>&, ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698