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

Unified Diff: Source/web/MIDIClientProxy.cpp

Issue 208423016: Web MIDI API renaming: the last step of three step changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 9 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 | « LayoutTests/webmidi/send_messages.html ('k') | public/web/WebMIDIClient.h » ('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 3791e6ec812c38c752ab10ee7023def391587bc4..a85f91e8e15f8c661a7099443b850d3075e0c5b0 100644
--- a/Source/web/MIDIClientProxy.cpp
+++ b/Source/web/MIDIClientProxy.cpp
@@ -46,18 +46,16 @@ MIDIClientProxy::MIDIClientProxy(WebMIDIClient* client)
void MIDIClientProxy::requestSysexPermission(PassRefPtrWillBeRawPtr<MIDIAccess> access)
{
- // FIXME: call new function once Chromium implements it.
if (m_client)
- m_client->requestSysExPermission(WebMIDIPermissionRequest(access));
+ m_client->requestSysexPermission(WebMIDIPermissionRequest(access));
else
access->setSysexEnabled(false);
}
void MIDIClientProxy::cancelSysexPermissionRequest(MIDIAccess* access)
{
- // FIXME: call new function once Chromium implements it.
if (m_client)
- m_client->cancelSysExPermissionRequest(WebMIDIPermissionRequest(access));
+ m_client->cancelSysexPermissionRequest(WebMIDIPermissionRequest(access));
}
} // namespace blink
« no previous file with comments | « LayoutTests/webmidi/send_messages.html ('k') | public/web/WebMIDIClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698