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

Unified Diff: third_party/WebKit/Source/core/loader/NavigationScheduler.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/NavigationScheduler.cpp
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
index b0199e0acbd21aeff012b83907817e4977421679..081868b9ea7e2c1b108ee856beb1da30a1e8286c 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
@@ -410,7 +410,7 @@ bool NavigationScheduler::MustReplaceCurrentItem(LocalFrame* target_frame) {
// create a new back/forward item. See https://webkit.org/b/42861 for the
// original motivation for this.
if (!target_frame->GetDocument()->LoadEventFinished() &&
- !UserGestureIndicator::UtilizeUserGesture())
+ !UserGestureIndicator::ProcessingUserGesture())
return true;
// Navigation of a subframe during loading of an ancestor frame does not

Powered by Google App Engine
This is Rietveld 408576698