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

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

Issue 2850983002: Remove UserGestureUtilizedCallback, it's unused outside of tests (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 a67b64bd7d919bca6a2f18883fac63e916441eb7..c7383329660c994d10e0b8fe301908d6b9c3fec5 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
@@ -454,7 +454,7 @@ void HTMLFormElement::ScheduleFormSubmission(FormSubmission* submission) {
submission->Target(), *GetDocument().GetFrame());
if (!target_frame) {
if (!LocalDOMWindow::AllowPopUp(*GetDocument().GetFrame()) &&
- !UserGestureIndicator::UtilizeUserGesture())
+ !UserGestureIndicator::ProcessingUserGesture())
return;
target_frame = GetDocument().GetFrame();
} else {
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | third_party/WebKit/Source/core/html/forms/ColorInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698