Index: Source/WebCore/loader/FormSubmission.cpp |
=================================================================== |
--- Source/WebCore/loader/FormSubmission.cpp (revision 112895) |
+++ Source/WebCore/loader/FormSubmission.cpp (working copy) |
@@ -212,7 +212,7 @@ |
formData->setIdentifier(generateFormDataIdentifier()); |
String targetOrBaseTarget = copiedAttributes.target().isEmpty() ? document->baseTarget() : copiedAttributes.target(); |
- RefPtr<FormState> formState = FormState::create(form, formValues, document->frame(), trigger); |
+ RefPtr<FormState> formState = FormState::create(form, formValues, document, trigger); |
return adoptRef(new FormSubmission(copiedAttributes.method(), actionURL, targetOrBaseTarget, encodingType, formState.release(), formData.release(), boundary, lockHistory, event)); |
} |