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

Side by Side Diff: Source/core/loader/FormState.cpp

Issue 270483003: Oilpan: Prepare to move HTMLFormElement, HTMLFormElement::PastNamesMap, FormKeyGenerator, and FormS… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: FIXME: Oilpan: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/FormState.h ('k') | Source/core/loader/FormSubmission.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 22 matching lines...) Expand all
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 inline FormState::FormState(HTMLFormElement& form, FormSubmissionTrigger formSub missionTrigger) 36 inline FormState::FormState(HTMLFormElement& form, FormSubmissionTrigger formSub missionTrigger)
37 : m_form(form) 37 : m_form(form)
38 , m_sourceDocument(form.document()) 38 , m_sourceDocument(form.document())
39 , m_formSubmissionTrigger(formSubmissionTrigger) 39 , m_formSubmissionTrigger(formSubmissionTrigger)
40 { 40 {
41 } 41 }
42 42
43 PassRefPtr<FormState> FormState::create(HTMLFormElement& form, FormSubmissionTri gger formSubmissionTrigger) 43 PassRefPtrWillBeRawPtr<FormState> FormState::create(HTMLFormElement& form, FormS ubmissionTrigger formSubmissionTrigger)
44 { 44 {
45 return adoptRef(new FormState(form, formSubmissionTrigger)); 45 return adoptRefWillBeNoop(new FormState(form, formSubmissionTrigger));
46 }
47
48 void FormState::trace(Visitor* visitor)
49 {
50 visitor->trace(m_form);
51 visitor->trace(m_sourceDocument);
46 } 52 }
47 53
48 } 54 }
OLDNEW
« no previous file with comments | « Source/core/loader/FormState.h ('k') | Source/core/loader/FormSubmission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698