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

Unified Diff: Source/modules/webaudio/AudioBuffer.h

Issue 19019002: Ensure that ArrayBuffers actively being used by the Web Audio API cannot be neutered (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase for re-landing Created 7 years, 5 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
« no previous file with comments | « LayoutTests/webaudio/audiobuffer-neuter-expected.txt ('k') | Source/modules/webaudio/AudioBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioBuffer.h
diff --git a/Source/modules/webaudio/AudioBuffer.h b/Source/modules/webaudio/AudioBuffer.h
index 793cfb8fce16cedac848a3f99fbaeb5e26ba583a..ca4b16c5d48cdd9d9bc051cfe54d801403db5c29 100644
--- a/Source/modules/webaudio/AudioBuffer.h
+++ b/Source/modules/webaudio/AudioBuffer.h
@@ -55,7 +55,7 @@ public:
// Channel data access
unsigned numberOfChannels() const { return m_channels.size(); }
- Float32Array* getChannelData(unsigned channelIndex, ExceptionState&);
+ PassRefPtr<Float32Array> getChannelData(unsigned channelIndex, ExceptionState&);
Float32Array* getChannelData(unsigned channelIndex);
void zero();
« no previous file with comments | « LayoutTests/webaudio/audiobuffer-neuter-expected.txt ('k') | Source/modules/webaudio/AudioBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698