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

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

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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 ab0f617744640c66b258a956ff5bccc45c8a2679..b1a27d1833227558565f5ea64b5a2b15f576602e 100644
--- a/Source/modules/webmidi/MIDIController.cpp
+++ b/Source/modules/webmidi/MIDIController.cpp
@@ -66,7 +66,7 @@ void MIDIController::cancelSysExPermissionRequest(MIDIAccess* access)
m_client->cancelSysExPermissionRequest(access);
}
-void provideMIDITo(Page* page, MIDIClient* client)
+void provideMIDITo(Page& page, MIDIClient* client)
{
MIDIController::provideTo(page, MIDIController::supplementName(), MIDIController::create(client));
}

Powered by Google App Engine
This is Rietveld 408576698