| 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 ed2437638e4ba271e2ff09c98190ed1da9b06a50..1dc4118cf0c87e190a5c73d92be163fe09306a24 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();
|
| +
|
| if (playbackState() != UNSCHEDULED_STATE) {
|
| exceptionState.throwDOMException(
|
| InvalidStateError,
|
|
|