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

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

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 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/AudioContext.idl ('k') | Source/modules/webaudio/BiquadFilterNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioParam.h
diff --git a/Source/modules/webaudio/AudioParam.h b/Source/modules/webaudio/AudioParam.h
index 7aaaaba7479816f9b375d834ca82411f796d6737..d1c052fa1bf9fb3d72d9471a4ea42bf47873d93f 100644
--- a/Source/modules/webaudio/AudioParam.h
+++ b/Source/modules/webaudio/AudioParam.h
@@ -30,13 +30,13 @@
#define AudioParam_h
#include "bindings/core/v8/ScriptWrappable.h"
+#include "core/dom/DOMTypedArray.h"
#include "modules/webaudio/AudioContext.h"
#include "modules/webaudio/AudioParamTimeline.h"
#include "modules/webaudio/AudioSummingJunction.h"
-#include <sys/types.h>
-#include "wtf/Float32Array.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/WTFString.h"
+#include <sys/types.h>
namespace blink {
@@ -95,9 +95,9 @@ public:
{
m_timeline.setTargetAtTime(target, time, timeConstant, exceptionState);
}
- void setValueCurveAtTime(Float32Array* curve, double time, double duration, ExceptionState& exceptionState)
+ void setValueCurveAtTime(DOMFloat32Array* curve, double time, double duration, ExceptionState& exceptionState)
{
- m_timeline.setValueCurveAtTime(curve, time, duration, exceptionState);
+ m_timeline.setValueCurveAtTime(curve->view(), time, duration, exceptionState);
}
void cancelScheduledValues(double startTime, ExceptionState& exceptionState)
{
« no previous file with comments | « Source/modules/webaudio/AudioContext.idl ('k') | Source/modules/webaudio/BiquadFilterNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698