Chromium Code Reviews| 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 24af794c3037d5967eea07a07b0568ca491d7ff4..4370ce56d8e103eeb43a1ed3e365afad5146a1f5 100644 |
| --- a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp |
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp |
| @@ -448,7 +448,7 @@ void AudioBufferSourceHandler::startSource(double when, double grainOffset, doub |
| { |
| DCHECK(isMainThread()); |
| - context()->recordUserGestureState(); |
| + context()->startRenderingIfNeeded(); |
|
Raymond Toy
2016/09/08 20:03:33
If we don't have the gesture, we don't want to sta
mlamouri (slow - plz ping)
2016/09/12 17:26:29
This is the intended behaviour, it matches https:/
|
| if (playbackState() != UNSCHEDULED_STATE) { |
| exceptionState.throwDOMException( |