Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a2db415bcf82b48a1b962ce002bbd907b8473393..3d911b61562f06da3c763cac9fbdba135c2d0733 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
@@ -201,7 +201,7 @@ void OfflineAudioDestinationHandler::DoOfflineRendering() {
++channel_index) {
const float* source = render_bus_->Channel(channel_index)->Data();
float* destination =
- render_target_->getChannelData(channel_index)->Data();
+ render_target_->getChannelData(channel_index).View()->Data();
memcpy(destination + frames_processed_, source,
sizeof(float) * frames_available_to_copy);
}

Powered by Google App Engine
This is Rietveld 408576698