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

Unified Diff: third_party/WebKit/Source/core/html/media/AutoplayPolicy.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/media/AutoplayPolicy.cpp
diff --git a/third_party/WebKit/Source/core/html/media/AutoplayPolicy.cpp b/third_party/WebKit/Source/core/html/media/AutoplayPolicy.cpp
index 68dff512c7606574427e3ad58f376d98088a7b5c..6af9d77174907bb7433482daf1c92cbfdaace089 100644
--- a/third_party/WebKit/Source/core/html/media/AutoplayPolicy.cpp
+++ b/third_party/WebKit/Source/core/html/media/AutoplayPolicy.cpp
@@ -211,7 +211,7 @@ bool AutoplayPolicy::IsLockedPendingUserGesture() const {
void AutoplayPolicy::TryUnlockingUserGesture() {
if (IsLockedPendingUserGesture() &&
- UserGestureIndicator::UtilizeUserGesture()) {
+ UserGestureIndicator::ProcessingUserGesture()) {
UnlockUserGesture();
}
}
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/FileInputType.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698