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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIOutput.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/webmidi/MIDIOutput.h
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIOutput.h b/third_party/WebKit/Source/modules/webmidi/MIDIOutput.h
index 3bd59ed9833a9d6efccf24d03a5a10251f51e454..74d4fcabdc6e9876b7ecb1e90f43ffd9cf4dba2f 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIOutput.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIOutput.h
@@ -32,6 +32,7 @@
#define MIDIOutput_h
#include "core/dom/DOMTypedArray.h"
+#include "core/dom/NotShared.h"
#include "modules/webmidi/MIDIPort.h"
namespace blink {
@@ -52,11 +53,11 @@ class MIDIOutput final : public MIDIPort {
midi::mojom::PortState);
~MIDIOutput() override;
- void send(DOMUint8Array*, double timestamp, ExceptionState&);
+ void send(NotShared<DOMUint8Array>, double timestamp, ExceptionState&);
void send(Vector<unsigned>, double timestamp, ExceptionState&);
// send() without optional |timestamp|.
- void send(DOMUint8Array*, ExceptionState&);
+ void send(NotShared<DOMUint8Array>, ExceptionState&);
void send(Vector<unsigned>, ExceptionState&);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698