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

Unified Diff: Source/modules/webaudio/AudioContext.cpp

Issue 723143002: bindings: Transition from ArrayBuffer to DOMArrayBuffer, part 3. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/modules/webaudio/AsyncAudioDecoder.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioContext.cpp
diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp
index 73ec1aedab1972aa4f5e813e61a0a06b28377d2d..3054349f2bbf61a58071a93e970722e43ba3c237 100644
--- a/Source/modules/webaudio/AudioContext.cpp
+++ b/Source/modules/webaudio/AudioContext.cpp
@@ -240,7 +240,7 @@ void AudioContext::decodeAudioData(DOMArrayBuffer* audioData, AudioBufferCallbac
"invalid ArrayBuffer for audioData.");
return;
}
- m_audioDecoder.decodeAsync(audioData->buffer(), sampleRate(), successCallback, errorCallback);
+ m_audioDecoder.decodeAsync(audioData, sampleRate(), successCallback, errorCallback);
}
AudioBufferSourceNode* AudioContext::createBufferSource()
« no previous file with comments | « Source/modules/webaudio/AsyncAudioDecoder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698