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

Unified Diff: third_party/WebKit/Source/modules/webaudio/BaseAudioContext.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/modules/webaudio/BaseAudioContext.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
index 1a40a205e55dde02a33fabea20c7ea1a134443b6..e9ec54febe0471d32c886cac64b1b22edd6de414 100644
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp
@@ -849,7 +849,6 @@ void BaseAudioContext::MaybeUnlockUserGesture() {
DCHECK(!autoplay_status_.has_value() ||
autoplay_status_ != AutoplayStatus::kAutoplayStatusSucceeded);
- UserGestureIndicator::UtilizeUserGesture();
user_gesture_required_ = false;
autoplay_status_ = AutoplayStatus::kAutoplayStatusSucceeded;
}
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRDisplay.cpp ('k') | third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698