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

Unified Diff: Source/modules/webmidi/MIDIClientMock.cpp

Issue 547383004: WebMIDI: Add MIDIOptions dictionary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add assertion Created 6 years, 3 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
« no previous file with comments | « Source/modules/webmidi/MIDIAccessInitializer.cpp ('k') | Source/modules/webmidi/MIDIOptions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIClientMock.cpp
diff --git a/Source/modules/webmidi/MIDIClientMock.cpp b/Source/modules/webmidi/MIDIClientMock.cpp
index 877cedf4450d5f11ca215c10a7ee67de5674154f..4440bc242fdbb20efe630d0ddd1d8b4bbb7d29df 100644
--- a/Source/modules/webmidi/MIDIClientMock.cpp
+++ b/Source/modules/webmidi/MIDIClientMock.cpp
@@ -56,7 +56,7 @@ void MIDIClientMock::resetMock()
void MIDIClientMock::requestSysexPermission(MIDIAccessInitializer* initializer)
{
- initializer->setSysexEnabled(m_allowed);
+ initializer->resolveSysexPermission(m_allowed);
}
void MIDIClientMock::cancelSysexPermissionRequest(MIDIAccessInitializer*)
« no previous file with comments | « Source/modules/webmidi/MIDIAccessInitializer.cpp ('k') | Source/modules/webmidi/MIDIOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698