Index: Source/core/html/HTMLFormElement.cpp |
diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp |
index 27cda28db711fd309792ac4531f80998dfcecf55..8b8a8ba9dbb7fb8a05a05e0cc11923fbed29c8ff 100644 |
--- a/Source/core/html/HTMLFormElement.cpp |
+++ b/Source/core/html/HTMLFormElement.cpp |
@@ -400,7 +400,7 @@ void HTMLFormElement::scheduleFormSubmission(PassRefPtr<FormSubmission> submissi |
return; |
} |
- Frame* targetFrame = document().frame()->loader().findFrameForNavigation(submission->target(), submission->state()->sourceDocument()); |
+ Frame* targetFrame = document().frame()->loader().findFrameForNavigation(AtomicString(submission->target()), submission->state()->sourceDocument()); |
if (!targetFrame) { |
if (!DOMWindow::allowPopUp(document().frame()) && !UserGestureIndicator::processingUserGesture()) |
return; |