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 be254a2cb65d4f99371dd09284d5f0852b89e06b..9e6301d43ce004b95781e6b481fea81d7f86b37b 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp |
@@ -433,7 +433,7 @@ void HTMLFormElement::scheduleFormSubmission(FormSubmission* submission) { |
return; |
} |
- if (protocolIsJavaScript(submission->action())) { |
+ if (submission->action().protocolIsJavaScript()) { |
document().frame()->script().executeScriptIfJavaScriptURL( |
submission->action(), this); |
return; |