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

Unified Diff: Source/core/loader/FormSubmission.h

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/loader/FormSubmission.h
diff --git a/Source/core/loader/FormSubmission.h b/Source/core/loader/FormSubmission.h
index 0ed026c74811b9b78bcdd2db8bcba88acf549837..43e41ec86af54dde40ed94c5f73b72fc4e0bfd30 100644
--- a/Source/core/loader/FormSubmission.h
+++ b/Source/core/loader/FormSubmission.h
@@ -32,6 +32,7 @@
#define FormSubmission_h
#include "core/loader/FormState.h"
+#include "heap/Handle.h"
#include "platform/weborigin/KURL.h"
#include "platform/weborigin/Referrer.h"
@@ -92,7 +93,7 @@ public:
String m_acceptCharset;
};
- static PassRefPtr<FormSubmission> create(HTMLFormElement*, const Attributes&, PassRefPtr<Event> event, FormSubmissionTrigger);
+ static PassRefPtr<FormSubmission> create(HTMLFormElement*, const Attributes&, PassRefPtrWillBeRawPtr<Event>, FormSubmissionTrigger);
void populateFrameLoadRequest(FrameLoadRequest&);
@@ -112,7 +113,7 @@ public:
const String& result() const { return m_result; }
private:
- FormSubmission(Method, const KURL& action, const AtomicString& target, const AtomicString& contentType, PassRefPtr<FormState>, PassRefPtr<FormData>, const String& boundary, PassRefPtr<Event>);
+ FormSubmission(Method, const KURL& action, const AtomicString& target, const AtomicString& contentType, PassRefPtr<FormState>, PassRefPtr<FormData>, const String& boundary, PassRefPtrWillBeRawPtr<Event>);
// FormSubmission for DialogMethod
FormSubmission(const String& result);
@@ -124,7 +125,7 @@ private:
RefPtr<FormState> m_formState;
RefPtr<FormData> m_formData;
String m_boundary;
- RefPtr<Event> m_event;
+ RefPtrWillBePersistent<Event> m_event;
Referrer m_referrer;
String m_origin;
String m_result;

Powered by Google App Engine
This is Rietveld 408576698