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

Unified Diff: third_party/WebKit/Source/modules/webaudio/PeriodicWave.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/PeriodicWave.h
diff --git a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h
index fcc26b6b1aa5ede72518db738aa61f16f7ff4f85..9f38d61b3a9a4e668d6837c26a8d0ed85f439f54 100644
--- a/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h
+++ b/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h
@@ -29,12 +29,13 @@
#ifndef PeriodicWave_h
#define PeriodicWave_h
+#include <memory>
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/DOMTypedArray.h"
+#include "core/dom/NotShared.h"
#include "platform/audio/AudioArray.h"
#include "wtf/Forward.h"
#include "wtf/Vector.h"
-#include <memory>
namespace blink {
@@ -63,8 +64,8 @@ class PeriodicWave final : public GarbageCollectedFinalized<PeriodicWave>,
ExceptionState&);
static PeriodicWave* Create(BaseAudioContext&,
- DOMFloat32Array* real,
- DOMFloat32Array* imag,
+ NotShared<DOMFloat32Array> real,
+ NotShared<DOMFloat32Array> imag,
bool normalize,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698