| Index: Source/modules/webmidi/MIDIController.cpp
|
| diff --git a/Source/modules/webmidi/MIDIController.cpp b/Source/modules/webmidi/MIDIController.cpp
|
| index 6d3ad053b4efcd8e54e34c016108a9b3cd17082c..2aa4b629001c28b2abba47b40e8d2653eb8ddd01 100644
|
| --- a/Source/modules/webmidi/MIDIController.cpp
|
| +++ b/Source/modules/webmidi/MIDIController.cpp
|
| @@ -41,7 +41,7 @@ const char* MIDIController::supplementName()
|
| return "MIDIController";
|
| }
|
|
|
| -MIDIController::MIDIController(MIDIClient* client)
|
| +MIDIController::MIDIController(PassOwnPtr<MIDIClient> client)
|
| : m_client(client)
|
| {
|
| ASSERT(client);
|
| @@ -51,7 +51,7 @@ MIDIController::~MIDIController()
|
| {
|
| }
|
|
|
| -PassOwnPtr<MIDIController> MIDIController::create(MIDIClient* client)
|
| +PassOwnPtr<MIDIController> MIDIController::create(PassOwnPtr<MIDIClient> client)
|
| {
|
| return adoptPtr(new MIDIController(client));
|
| }
|
| @@ -66,7 +66,7 @@ void MIDIController::cancelSysexPermissionRequest(MIDIAccess* access)
|
| m_client->cancelSysexPermissionRequest(access);
|
| }
|
|
|
| -void provideMIDITo(Page& page, MIDIClient* client)
|
| +void provideMIDITo(Page& page, PassOwnPtr<MIDIClient> client)
|
| {
|
| MIDIController::provideTo(page, MIDIController::supplementName(), MIDIController::create(client));
|
| }
|
|
|