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

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

Issue 258143002: Oilpan: move DOM string collection objects to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase + final adjustments Created 6 years, 7 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 | « Source/core/html/ClassList.h ('k') | Source/core/html/HTMLLinkElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/ClassList.cpp
diff --git a/Source/core/html/ClassList.cpp b/Source/core/html/ClassList.cpp
index ba44f7b0b0d1d5d2f8e53ad7d6e5c95150466ffa..431af7b703807afcb859e8300dd4e29911229a4a 100644
--- a/Source/core/html/ClassList.cpp
+++ b/Source/core/html/ClassList.cpp
@@ -32,6 +32,7 @@ using namespace HTMLNames;
ClassList::ClassList(Element* element) : m_element(element) { }
+#if !ENABLE(OILPAN)
void ClassList::ref()
{
m_element->ref();
@@ -41,6 +42,7 @@ void ClassList::deref()
{
m_element->deref();
}
+#endif
unsigned ClassList::length() const
{
@@ -70,4 +72,10 @@ const SpaceSplitString& ClassList::classNames() const
return m_element->elementData()->classNames();
}
+void ClassList::trace(Visitor* visitor)
+{
+ visitor->trace(m_element);
+ DOMTokenList::trace(visitor);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/html/ClassList.h ('k') | Source/core/html/HTMLLinkElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698