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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.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/loader/FrameLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
index 8a6cdc10ee42dacf58aafdf12a13c0c96e2e86ce..9262db30b6fb1617c755acfb6cafc3ca717857d1 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -1453,7 +1453,7 @@ NavigationPolicy FrameLoader::ShouldContinueForNavigationPolicy(
}
if (!LocalDOMWindow::AllowPopUp(*frame_) &&
- !UserGestureIndicator::UtilizeUserGesture())
+ !UserGestureIndicator::ProcessingUserGesture())
return kNavigationPolicyIgnore;
Client()->LoadURLExternally(request, policy, String(),
replaces_current_history_item);

Powered by Google App Engine
This is Rietveld 408576698