| Index: Source/core/dom/DOMSettableTokenList.h
|
| diff --git a/Source/core/dom/DOMSettableTokenList.h b/Source/core/dom/DOMSettableTokenList.h
|
| index 2a59e85b8197b562e941aa7bc0716fbef7534ead..bba9691d7a6b43e66e6a69fa6f9cd2752cc4e2be 100644
|
| --- a/Source/core/dom/DOMSettableTokenList.h
|
| +++ b/Source/core/dom/DOMSettableTokenList.h
|
| @@ -27,6 +27,7 @@
|
|
|
| #include "core/dom/DOMTokenList.h"
|
| #include "core/dom/SpaceSplitString.h"
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/text/AtomicString.h"
|
|
|
| @@ -34,17 +35,24 @@ namespace WebCore {
|
|
|
| class ExceptionState;
|
|
|
| -class DOMSettableTokenList FINAL : public DOMTokenList, public RefCounted<DOMSettableTokenList> {
|
| - WTF_MAKE_FAST_ALLOCATED;
|
| +class DOMSettableTokenList FINAL
|
| + : public DOMTokenList
|
| +#if !ENABLE(OILPAN)
|
| + , public RefCounted<DOMSettableTokenList>
|
| +#endif
|
| + {
|
| + WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
|
| public:
|
| - static PassRefPtr<DOMSettableTokenList> create()
|
| + static PassRefPtrWillBeRawPtr<DOMSettableTokenList> create()
|
| {
|
| - return adoptRef(new DOMSettableTokenList());
|
| + return adoptRefWillBeNoop(new DOMSettableTokenList());
|
| }
|
| virtual ~DOMSettableTokenList();
|
|
|
| +#if !ENABLE(OILPAN)
|
| virtual void ref() OVERRIDE { RefCounted<DOMSettableTokenList>::ref(); }
|
| virtual void deref() OVERRIDE { RefCounted<DOMSettableTokenList>::deref(); }
|
| +#endif
|
|
|
| virtual unsigned length() const OVERRIDE { return m_tokens.size(); }
|
| virtual const AtomicString item(unsigned index) const OVERRIDE;
|
|
|