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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.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/frame/LocalDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
index cdca6ad5e2f56c1ae2061d2b017de495b9c5a7d1..e3e0ac14919d61b524ab6e8205b51f02a2a29dbc 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -270,7 +270,7 @@ unsigned LocalDOMWindow::PendingUnloadEventListeners() const {
}
bool LocalDOMWindow::AllowPopUp(LocalFrame& first_frame) {
- if (UserGestureIndicator::UtilizeUserGesture())
+ if (UserGestureIndicator::ProcessingUserGesture())
return true;
Settings* settings = first_frame.GetSettings();

Powered by Google App Engine
This is Rietveld 408576698