Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: third_party/WebKit/Source/core/html/ClassList.cpp

Issue 1629403003: Merge DOMSettableTokensList into DOMTokensList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed non-oilpan inheritance Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
{
« no previous file with comments | « third_party/WebKit/Source/core/html/ClassList.h ('k') | third_party/WebKit/Source/core/html/HTMLAnchorElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698