Index: third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h b/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h |
index f80cc690828f94a0130c5dec18e7508f0ea6925b..24599611935ba6bfb9461b72d0ed9a388618d4f7 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h |
@@ -92,7 +92,7 @@ |
DOMFloat32Array* curve() { return m_curve.get(); } |
private: |
- ParamEvent(Type type, float value, double time, double timeConstant, double duration, DOMFloat32Array* curve) |
+ ParamEvent(Type type, float value, double time, double timeConstant, double duration, PassRefPtr<DOMFloat32Array> curve) |
: m_type(type) |
, m_value(value) |
, m_time(time) |
@@ -109,7 +109,7 @@ |
double m_timeConstant; |
// Only used for SetValueCurve events. |
double m_duration; |
- CrossThreadPersistent<DOMFloat32Array> m_curve; |
+ RefPtr<DOMFloat32Array> m_curve; |
}; |
void insertEvent(const ParamEvent&, ExceptionState&); |