Index: third_party/WebKit/Source/core/html/ClassList.cpp |
diff --git a/third_party/WebKit/Source/core/html/ClassList.cpp b/third_party/WebKit/Source/core/html/ClassList.cpp |
index b003caa6f49e1e59d06745299d26dd614f8b79dd..1637c65a3b5f02a7075cd140e4dd76af447bf117 100644 |
--- a/third_party/WebKit/Source/core/html/ClassList.cpp |
+++ b/third_party/WebKit/Source/core/html/ClassList.cpp |
@@ -30,19 +30,7 @@ namespace blink { |
using namespace HTMLNames; |
-ClassList::ClassList(Element* element) : m_element(element) { } |
- |
-#if !ENABLE(OILPAN) |
-void ClassList::ref() |
-{ |
- m_element->ref(); |
-} |
- |
-void ClassList::deref() |
-{ |
- m_element->deref(); |
-} |
-#endif |
+ClassList::ClassList(Element* element) : DOMTokenList(nullptr), m_element(element) { } |
unsigned ClassList::length() const |
{ |