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

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

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO Created 3 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/AudioParam.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioParam.h b/third_party/WebKit/Source/modules/webaudio/AudioParam.h
index cd4e8647f506876bd12e728c0b9f9ec08ffb3f82..48550745ea7a73fb45a43f58896958203a4ca8a7 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/NotShared.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 time_constant,
ExceptionState&);
- AudioParam* setValueCurveAtTime(DOMFloat32Array* curve,
+ AudioParam* setValueCurveAtTime(NotShared<DOMFloat32Array> curve,
double time,
double duration,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698