| 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 1637c65a3b5f02a7075cd140e4dd76af447bf117..c37b6bf40db80f912a59bbc3b48debc74a4e94db 100644
|
| --- a/third_party/WebKit/Source/core/html/ClassList.cpp
|
| +++ b/third_party/WebKit/Source/core/html/ClassList.cpp
|
| @@ -32,6 +32,20 @@ using namespace HTMLNames;
|
|
|
| ClassList::ClassList(Element* element) : DOMTokenList(nullptr), m_element(element) { }
|
|
|
| +#if !ENABLE(OILPAN)
|
| +void ClassList::ref()
|
| +{
|
| + m_element->ref();
|
| + DOMTokenList::ref();
|
| +}
|
| +
|
| +void ClassList::deref()
|
| +{
|
| + m_element->deref();
|
| + DOMTokenList::deref();
|
| +}
|
| +#endif
|
| +
|
| unsigned ClassList::length() const
|
| {
|
| return m_element->hasClass() ? classNames().size() : 0;
|
|
|