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

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

Issue 19724003: Revert "Transition modules/** to use ExceptionState" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « Source/modules/webaudio/AudioBasicInspectorNode.cpp ('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 ca4b16c5d48cdd9d9bc051cfe54d801403db5c29..bfd50266e24a31120dce067b88478e05c5c0ac2b 100644
--- a/Source/modules/webaudio/AudioBuffer.h
+++ b/Source/modules/webaudio/AudioBuffer.h
@@ -39,7 +39,8 @@
namespace WebCore {
class AudioBus;
-class ExceptionState;
+
+typedef int ExceptionCode;
class AudioBuffer : public ScriptWrappable, public RefCounted<AudioBuffer> {
public:
@@ -55,7 +56,8 @@ public:
// Channel data access
unsigned numberOfChannels() const { return m_channels.size(); }
- PassRefPtr<Float32Array> getChannelData(unsigned channelIndex, ExceptionState&);
+ PassRefPtr<Float32Array> getChannelData(unsigned channelIndex, ExceptionCode&);
+
Float32Array* getChannelData(unsigned channelIndex);
void zero();
« no previous file with comments | « Source/modules/webaudio/AudioBasicInspectorNode.cpp ('k') | Source/modules/webaudio/AudioBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698