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

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: Created 6 years, 8 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
Index: Source/core/dom/DatasetDOMStringMap.h
diff --git a/Source/core/dom/DatasetDOMStringMap.h b/Source/core/dom/DatasetDOMStringMap.h
index 9d2220f237ff6a7066520bb3e7aee371379b2c7b..da23c35364771aa4376b0f33e40bdd382472bd8d 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,6 +54,8 @@ public:
virtual Element* element() OVERRIDE { return m_element; }
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
explicit DatasetDOMStringMap(Element* element)
: m_element(element)

Powered by Google App Engine
This is Rietveld 408576698