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

Unified Diff: Source/core/html/DOMFormData.h

Issue 1102253002: Oilpan: keep FormData on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « no previous file | Source/core/html/DOMFormData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/DOMFormData.h
diff --git a/Source/core/html/DOMFormData.h b/Source/core/html/DOMFormData.h
index 33820c043c79c68e8325bdc2706a8d65940ffd98..e9a959f93dce93d4b469a399aefa7218b1f157ea 100644
--- a/Source/core/html/DOMFormData.h
+++ b/Source/core/html/DOMFormData.h
@@ -38,8 +38,6 @@
#include "core/html/FormDataList.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
namespace WTF{
class TextEncoding;
@@ -57,14 +55,14 @@ class CORE_EXPORT DOMFormData final : public FormDataList, public ScriptWrappabl
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<DOMFormData> create(HTMLFormElement* form = 0)
+ static DOMFormData* create(HTMLFormElement* form = 0)
{
- return adoptRefWillBeNoop(new DOMFormData(form));
+ return new DOMFormData(form);
}
- static PassRefPtrWillBeRawPtr<DOMFormData> create(const WTF::TextEncoding& encoding)
+ static DOMFormData* create(const WTF::TextEncoding& encoding)
{
- return adoptRefWillBeNoop(new DOMFormData(encoding));
+ return new DOMFormData(encoding);
}
// FormData interface.
« no previous file with comments | « no previous file | Source/core/html/DOMFormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698