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); |