Index: third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp |
index c1ff657683969e77b6d366583016fa35740e166f..bb0d054df5b6e31cdcfac26f36e3576d697a2b72 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp |
@@ -441,6 +441,8 @@ void AudioBufferSourceHandler::startSource(double when, double grainOffset, doub |
{ |
ASSERT(isMainThread()); |
+ context()->recordUserGestureState(); |
Raymond Toy
2016/06/06 15:10:08
Probably want this after all of the code that coul
mlamouri (slow - plz ping)
2016/06/06 16:14:13
WebKit puts it exactly here actually :(
|
+ |
if (playbackState() != UNSCHEDULED_STATE) { |
exceptionState.throwDOMException( |
InvalidStateError, |