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

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

Issue 1709033002: Bring back ref to element in ClassList and RelList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added virtual call to DOMTokenList 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMTokenList.h ('k') | third_party/WebKit/Source/core/html/RelList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 146550b48f3fd564696768a2fb7d876d2851863b..e0a02f07c941a4052bfb9bb320a9cf7f17de9beb 100644
--- a/third_party/WebKit/Source/core/html/ClassList.h
+++ b/third_party/WebKit/Source/core/html/ClassList.h
@@ -52,6 +52,10 @@ public:
void clearValueForQuirksMode() { m_classNamesForQuirksMode = nullptr; }
DECLARE_VIRTUAL_TRACE();
+#if !ENABLE(OILPAN)
+ void ref() override { m_element->ref(); }
+ void deref() override { m_element->deref(); }
+#endif
private:
explicit ClassList(Element*);
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMTokenList.h ('k') | third_party/WebKit/Source/core/html/RelList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698