Index: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
index 954586c250ad2140ba27c668320c68c1c8fffa35..932a211bc0c9667066cdfbfbf29e29dba9df266c 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp |
@@ -200,7 +200,8 @@ void OfflineAudioDestinationHandler::doOfflineRendering() { |
for (unsigned channelIndex = 0; channelIndex < numberOfChannels; |
++channelIndex) { |
const float* source = m_renderBus->channel(channelIndex)->data(); |
- float* destination = m_renderTarget->getChannelData(channelIndex)->data(); |
+ float* destination = |
+ m_renderTarget->getChannelData(channelIndex).view()->data(); |
memcpy(destination + m_framesProcessed, source, |
sizeof(float) * framesAvailableToCopy); |
} |