Index: Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp |
=================================================================== |
--- Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp (revision 112895) |
+++ Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp (working copy) |
@@ -719,7 +719,7 @@ |
RefPtr<FormState> formState = prpFormState; |
HTMLFormElement* form = formState->form(); |
- WebFrame* sourceFrame = static_cast<WebFrameLoaderClient*>(formState->sourceFrame()->loader()->client())->webFrame(); |
+ WebFrame* sourceFrame = static_cast<WebFrameLoaderClient*>(formState->sourceDocument()->frame()->loader()->client())->webFrame(); |
const Vector<std::pair<String, String> >& values = formState->textFieldValues(); |
RefPtr<APIObject> userData; |