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

Unified Diff: third_party/WebKit/Source/core/html/forms/FileInputType.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/forms/FileInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FileInputType.cpp b/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
index 846a1167e827ad0f3411a3b9a8bcaed0d30edf02..431a84749423cfc6b9dbf4c5dc766682f4bb2d31 100644
--- a/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
@@ -132,7 +132,7 @@ void FileInputType::HandleDOMActivateEvent(Event* event) {
if (GetElement().IsDisabledFormControl())
return;
- if (!UserGestureIndicator::UtilizeUserGesture())
+ if (!UserGestureIndicator::ProcessingUserGesture())
return;
if (ChromeClient* chrome_client = this->GetChromeClient()) {

Powered by Google App Engine
This is Rietveld 408576698