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

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

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: Created 3 years, 10 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/AudioParam.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioParam.h b/third_party/WebKit/Source/modules/webaudio/AudioParam.h
index 6726de734b8ff914083812909fb7733b55969d13..4c7b479d9f36f66527d3fb2cedad33b08bc96d69 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioParam.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioParam.h
@@ -29,15 +29,16 @@
#ifndef AudioParam_h
#define AudioParam_h
+#include <sys/types.h>
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/DOMTypedArray.h"
+#include "core/dom/MaybeShared.h"
#include "modules/webaudio/AudioParamTimeline.h"
#include "modules/webaudio/AudioSummingJunction.h"
#include "modules/webaudio/BaseAudioContext.h"
#include "wtf/PassRefPtr.h"
#include "wtf/ThreadSafeRefCounted.h"
#include "wtf/text/WTFString.h"
-#include <sys/types.h>
namespace blink {
@@ -246,7 +247,7 @@ class AudioParam final : public GarbageCollectedFinalized<AudioParam>,
double time,
double timeConstant,
ExceptionState&);
- AudioParam* setValueCurveAtTime(DOMFloat32Array* curve,
+ AudioParam* setValueCurveAtTime(const MaybeShared<DOMFloat32Array>& curve,
double time,
double duration,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698