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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h

Issue 1878463002: Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 years, 8 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
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 24599611935ba6bfb9461b72d0ed9a388618d4f7..f80cc690828f94a0130c5dec18e7508f0ea6925b 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h
@@ -92,7 +92,7 @@ private:
DOMFloat32Array* curve() { return m_curve.get(); }
private:
- ParamEvent(Type type, float value, double time, double timeConstant, double duration, PassRefPtr<DOMFloat32Array> curve)
+ ParamEvent(Type type, float value, double time, double timeConstant, double duration, DOMFloat32Array* curve)
: m_type(type)
, m_value(value)
, m_time(time)
@@ -109,7 +109,7 @@ private:
double m_timeConstant;
// Only used for SetValueCurve events.
double m_duration;
- RefPtr<DOMFloat32Array> m_curve;
+ CrossThreadPersistent<DOMFloat32Array> m_curve;
};
void insertEvent(const ParamEvent&, ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698