Index: Source/modules/webaudio/AudioContext.cpp |
diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp |
index 4097fb459a63cdb55b0324314b58362f4ea792bf..b0d76567e71d15e96ec2c170e9c24d724ce706c2 100644 |
--- a/Source/modules/webaudio/AudioContext.cpp |
+++ b/Source/modules/webaudio/AudioContext.cpp |
@@ -223,7 +223,7 @@ void AudioContext::clear() |
// Audio thread is dead. Nobody will schedule node deletion action. Let's do it ourselves. |
do { |
deleteMarkedNodes(); |
- m_nodesToDelete.append(m_nodesMarkedForDeletion); |
+ m_nodesToDelete.appendVector(m_nodesMarkedForDeletion); |
m_nodesMarkedForDeletion.clear(); |
} while (m_nodesToDelete.size()); |
@@ -879,7 +879,7 @@ void AudioContext::scheduleNodeDeletion() |
// Make sure to call deleteMarkedNodes() on main thread. |
if (m_nodesMarkedForDeletion.size() && !m_isDeletionScheduled) { |
- m_nodesToDelete.append(m_nodesMarkedForDeletion); |
+ m_nodesToDelete.appendVector(m_nodesMarkedForDeletion); |
m_nodesMarkedForDeletion.clear(); |
m_isDeletionScheduled = true; |