| Index: third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| index ce81ebeec1fb253d06b83d091172d6d46d05cd7c..e2495c0c8d7b243df67b7988e2a935c2952de6a4 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| @@ -443,8 +443,10 @@ void HTMLFormElement::ScheduleFormSubmission(FormSubmission* submission) {
|
| }
|
|
|
| if (submission->Action().ProtocolIsJavaScript()) {
|
| - GetDocument().GetFrame()->Script().ExecuteScriptIfJavaScriptURL(
|
| - submission->Action(), this);
|
| + GetDocument()
|
| + .GetFrame()
|
| + ->GetScriptController()
|
| + .ExecuteScriptIfJavaScriptURL(submission->Action(), this);
|
| return;
|
| }
|
|
|
|
|