Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Unified Diff: third_party/WebKit/Source/core/html/HTMLFormElement.cpp

Issue 2811793005: Rename LocalFrame::Script() to GetScriptController() (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLDocument.cpp ('k') | third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698