Index: third_party/WebKit/Source/modules/webaudio/AudioNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp |
index 2fc46b56f2b9ac97dab19bec5b149f7c8b68eb13..657228a8b6f86e9945b33edb377c80ac6fc581a7 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp |
@@ -550,9 +550,10 @@ void AudioNode::Dispose() { |
#endif |
BaseAudioContext::AutoLocker locker(context()); |
Handler().Dispose(); |
- if (context()->ContextState() == BaseAudioContext::kRunning) |
+ if (context()->ContextState() == BaseAudioContext::kRunning) { |
context()->GetDeferredTaskHandler().AddRenderingOrphanHandler( |
- handler_.Release()); |
+ std::move(handler_)); |
+ } |
} |
void AudioNode::SetHandler(PassRefPtr<AudioHandler> handler) { |