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

Unified Diff: Source/modules/webmidi/MIDIOutput.h

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Win GPU tests (DOMDataView). Created 6 years, 2 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: Source/modules/webmidi/MIDIOutput.h
diff --git a/Source/modules/webmidi/MIDIOutput.h b/Source/modules/webmidi/MIDIOutput.h
index 2b8d0c1930210d82c09c42374ae6338feb654fee..3fe103cab74b7b89e5911cf4af46b208c6178d87 100644
--- a/Source/modules/webmidi/MIDIOutput.h
+++ b/Source/modules/webmidi/MIDIOutput.h
@@ -31,8 +31,8 @@
#ifndef MIDIOutput_h
#define MIDIOutput_h
+#include "core/dom/DOMTypedArray.h"
#include "modules/webmidi/MIDIPort.h"
-#include "wtf/Uint8Array.h"
namespace blink {
@@ -45,11 +45,12 @@ public:
static MIDIOutput* create(MIDIAccess*, unsigned portIndex, const String& id, const String& manufacturer, const String& name, const String& version);
virtual ~MIDIOutput();
+ void send(DOMUint8Array*, double timestamp, ExceptionState&);
void send(Uint8Array*, double timestamp, ExceptionState&);
void send(Vector<unsigned>, double timestamp, ExceptionState&);
// send() without optional |timestamp|.
- void send(Uint8Array*, ExceptionState&);
+ void send(DOMUint8Array*, ExceptionState&);
void send(Vector<unsigned>, ExceptionState&);
virtual void trace(Visitor*) override;

Powered by Google App Engine
This is Rietveld 408576698