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

Unified Diff: third_party/WebKit/Source/core/html/RelList.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/html/ClassList.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/RelList.h
diff --git a/third_party/WebKit/Source/core/html/RelList.h b/third_party/WebKit/Source/core/html/RelList.h
index 2f0825bd89f4cbab041bace2cdbe5bf73d781aee..e13b5b531736a1c83f80569a64d9147fd8d71a9b 100644
--- a/third_party/WebKit/Source/core/html/RelList.h
+++ b/third_party/WebKit/Source/core/html/RelList.h
@@ -26,6 +26,10 @@ public:
void setRelValues(const AtomicString&);
DECLARE_VIRTUAL_TRACE();
+#if !ENABLE(OILPAN)
+ void ref() override { m_element->ref(); }
+ void deref() override { m_element->deref(); }
+#endif
using SupportedTokens = HashSet<AtomicString>;
« no previous file with comments | « third_party/WebKit/Source/core/html/ClassList.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698