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

Unified Diff: Source/core/dom/DatasetDOMStringMap.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/dom/DatasetDOMStringMap.h ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DatasetDOMStringMap.cpp
diff --git a/Source/core/dom/DatasetDOMStringMap.cpp b/Source/core/dom/DatasetDOMStringMap.cpp
index 8690449f86314d26cc57d9bed216cec09c41e1c0..adf09b1210c860ef3b7e804cce7cd3b0eb74969e 100644
--- a/Source/core/dom/DatasetDOMStringMap.cpp
+++ b/Source/core/dom/DatasetDOMStringMap.cpp
@@ -140,6 +140,7 @@ static AtomicString convertPropertyNameToAttributeName(const String& name)
return builder.toAtomicString();
}
+#if !ENABLE(OILPAN)
void DatasetDOMStringMap::ref()
{
m_element->ref();
@@ -149,6 +150,7 @@ void DatasetDOMStringMap::deref()
{
m_element->deref();
}
+#endif
void DatasetDOMStringMap::getNames(Vector<String>& names)
{
@@ -215,4 +217,10 @@ bool DatasetDOMStringMap::deleteItem(const String& name)
return false;
}
+void DatasetDOMStringMap::trace(Visitor* visitor)
+{
+ visitor->trace(m_element);
+ DOMStringMap::trace(visitor);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/dom/DatasetDOMStringMap.h ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698