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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.cpp

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/MIDIMessageEvent.cpp
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.cpp
index f4a1075409f048940d261112451c2a94369f4b62..e12dd9a3415275d74bb6f1f68d11a5ba3ae028b4 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.cpp
@@ -12,7 +12,7 @@ MIDIMessageEvent::MIDIMessageEvent(const AtomicString& type,
const MIDIMessageEventInit& initializer)
: Event(type, initializer) {
if (initializer.hasData())
- data_ = initializer.data();
+ data_ = initializer.data().View();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698