| Index: Source/core/dom/DOMTokenList.h
|
| diff --git a/Source/core/dom/DOMTokenList.h b/Source/core/dom/DOMTokenList.h
|
| index 5bb39cd7cdd1efce083dcf11f02137e46e7fef76..8a8f2dd6b8fae3e1e7c2462b2e9b972e4d41af65 100644
|
| --- a/Source/core/dom/DOMTokenList.h
|
| +++ b/Source/core/dom/DOMTokenList.h
|
| @@ -25,6 +25,7 @@
|
| #ifndef DOMTokenList_h
|
| #define DOMTokenList_h
|
|
|
| +#include "bindings/core/v8/Optional.h"
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/Vector.h"
|
| @@ -58,8 +59,7 @@ public:
|
| void add(const AtomicString&, ExceptionState&);
|
| virtual void remove(const Vector<String>&, ExceptionState&);
|
| void remove(const AtomicString&, ExceptionState&);
|
| - bool toggle(const AtomicString&, ExceptionState&);
|
| - bool toggle(const AtomicString&, bool force, ExceptionState&);
|
| + bool toggle(const AtomicString&, Optional<bool> force, ExceptionState&);
|
|
|
| const AtomicString& toString() const { return value(); }
|
|
|
|
|