Index: third_party/WebKit/Source/core/html/ClassList.h |
diff --git a/third_party/WebKit/Source/core/html/ClassList.h b/third_party/WebKit/Source/core/html/ClassList.h |
index 3227520e916b532424f409138b274e94653c1560..146550b48f3fd564696768a2fb7d876d2851863b 100644 |
--- a/third_party/WebKit/Source/core/html/ClassList.h |
+++ b/third_party/WebKit/Source/core/html/ClassList.h |
@@ -30,7 +30,6 @@ |
#include "core/dom/Element.h" |
#include "core/dom/SpaceSplitString.h" |
#include "wtf/OwnPtr.h" |
-#include "wtf/PassOwnPtr.h" |
namespace blink { |
@@ -40,16 +39,11 @@ typedef int ExceptionCode; |
class ClassList final : public DOMTokenList { |
public: |
- static PassOwnPtrWillBeRawPtr<ClassList> create(Element* element) |
+ static PassRefPtrWillBeRawPtr<ClassList> create(Element* element) |
{ |
- return adoptPtrWillBeNoop(new ClassList(element)); |
+ return adoptRefWillBeNoop(new ClassList(element)); |
} |
-#if !ENABLE(OILPAN) |
- void ref() override; |
- void deref() override; |
-#endif |
- |
unsigned length() const override; |
const AtomicString item(unsigned index) const override; |