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

Unified Diff: Source/web/MIDIClientProxy.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/NavigatorWebMIDI.idl ('k') | Source/web/WebMIDIPermissionRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/MIDIClientProxy.cpp
diff --git a/Source/web/MIDIClientProxy.cpp b/Source/web/MIDIClientProxy.cpp
index 4f5ded60d9f5e1dc056de5feb56b71f67752620c..af439bedec74c5658c3fe82879b8b6a24d277316 100644
--- a/Source/web/MIDIClientProxy.cpp
+++ b/Source/web/MIDIClientProxy.cpp
@@ -47,7 +47,7 @@ void MIDIClientProxy::requestSysexPermission(MIDIAccessInitializer* initializer)
if (m_client)
m_client->requestSysexPermission(WebMIDIPermissionRequest(initializer));
else
- initializer->setSysexEnabled(false);
+ initializer->resolveSysexPermission(false);
}
void MIDIClientProxy::cancelSysexPermissionRequest(MIDIAccessInitializer* initializer)
« no previous file with comments | « Source/modules/webmidi/NavigatorWebMIDI.idl ('k') | Source/web/WebMIDIPermissionRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698