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

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

Issue 2769263004: Remove Frame::host() method (Closed)
Patch Set: Created 3 years, 9 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 2ab5f5cec303d093a94d0eaaa10229f54acd2c73..61df54460dc6d618f7068406888d21766c2fc868 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
@@ -450,7 +450,7 @@ void HTMLFormElement::scheduleFormSubmission(FormSubmission* submission) {
} else {
submission->clearTarget();
}
- if (!targetFrame->host())
+ if (!targetFrame->page())
return;
UseCounter::count(document(), UseCounter::FormsSubmitted);

Powered by Google App Engine
This is Rietveld 408576698