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

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

Issue 108313015: Make calls to AtomicString(const String&) explicit in html/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 12 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: 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;

Powered by Google App Engine
This is Rietveld 408576698