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

Unified Diff: Source/core/dom/DatasetDOMStringMap.h

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/DOMTokenList.idl ('k') | Source/core/dom/DatasetDOMStringMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DatasetDOMStringMap.h
diff --git a/Source/core/dom/DatasetDOMStringMap.h b/Source/core/dom/DatasetDOMStringMap.h
index 9d2220f237ff6a7066520bb3e7aee371379b2c7b..dc31f536ce85425a4bb1fc977c474a4f134527ab 100644
--- a/Source/core/dom/DatasetDOMStringMap.h
+++ b/Source/core/dom/DatasetDOMStringMap.h
@@ -36,13 +36,15 @@ class ExceptionState;
class DatasetDOMStringMap FINAL : public DOMStringMap {
public:
- static PassOwnPtr<DatasetDOMStringMap> create(Element* element)
+ static PassOwnPtrWillBeRawPtr<DatasetDOMStringMap> create(Element* element)
{
- return adoptPtr(new DatasetDOMStringMap(element));
+ return adoptPtrWillBeNoop(new DatasetDOMStringMap(element));
}
+#if !ENABLE(OILPAN)
virtual void ref() OVERRIDE;
virtual void deref() OVERRIDE;
+#endif
virtual void getNames(Vector<String>&) OVERRIDE;
virtual String item(const String& name) OVERRIDE;
@@ -52,13 +54,15 @@ public:
virtual Element* element() OVERRIDE { return m_element; }
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
explicit DatasetDOMStringMap(Element* element)
: m_element(element)
{
}
- Element* m_element;
+ RawPtrWillBeMember<Element> m_element;
};
} // namespace WebCore
« no previous file with comments | « Source/core/dom/DOMTokenList.idl ('k') | Source/core/dom/DatasetDOMStringMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698