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

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

Issue 317413003: Move MIDI code to hang off WebFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/MIDIController.cpp
diff --git a/Source/modules/webmidi/MIDIController.cpp b/Source/modules/webmidi/MIDIController.cpp
index c25bd6999b5ef0b4033cda968fa5f95a12d18a30..171de5176315316bd2f90206bae8a9fd81b6d76a 100644
--- a/Source/modules/webmidi/MIDIController.cpp
+++ b/Source/modules/webmidi/MIDIController.cpp
@@ -66,9 +66,9 @@ void MIDIController::cancelSysexPermissionRequest(MIDIAccess* access)
m_client->cancelSysexPermissionRequest(access);
}
-void provideMIDITo(Page& page, PassOwnPtr<MIDIClient> client)
+void provideMIDITo(LocalFrame& frame, PassOwnPtr<MIDIClient> client)
{
- MIDIController::provideTo(page, MIDIController::supplementName(), MIDIController::create(client));
+ MIDIController::provideTo(frame, MIDIController::supplementName(), MIDIController::create(client));
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698