Index: Source/WebKit/win/WebFrame.cpp |
=================================================================== |
--- Source/WebKit/win/WebFrame.cpp (revision 112895) |
+++ Source/WebKit/win/WebFrame.cpp (working copy) |
@@ -1608,7 +1608,7 @@ |
COMPtr<IPropertyBag> formValuesPropertyBag(AdoptCOM, COMPropertyBag<String>::createInstance(formValuesMap)); |
- COMPtr<WebFrame> sourceFrame(kit(formState->sourceFrame())); |
+ COMPtr<WebFrame> sourceFrame(kit(formState->sourceDocument()->frame())); |
if (SUCCEEDED(formDelegate->willSubmitForm(this, sourceFrame.get(), formElement.get(), formValuesPropertyBag.get(), setUpPolicyListener(function).get()))) |
return; |