Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index cbcf7dc90d7ad9b6c68b8eff0f89a83ae8afd7a1..d05a6c2df94bb76262f99d629fec4f8a2ac2a3fd 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -180,6 +180,7 @@ |
#include "web/EventListenerWrapper.h" |
#include "web/FindInPageCoordinates.h" |
#include "web/GeolocationClientProxy.h" |
+#include "web/MIDIClientProxy.h" |
#include "web/PageOverlay.h" |
#include "web/SharedWorkerRepositoryClientImpl.h" |
#include "web/TextFinder.h" |
@@ -1613,6 +1614,7 @@ void WebLocalFrameImpl::setWebCoreFrame(PassRefPtr<WebCore::LocalFrame> frame) |
provideUserMediaTo(*m_frame, &m_userMediaClientImpl); |
provideGeolocationTo(*m_frame, m_geolocationClientProxy.get()); |
m_geolocationClientProxy->setController(GeolocationController::from(m_frame.get())); |
+ provideMIDITo(*m_frame, MIDIClientProxy::create(m_client ? m_client->webMIDIClient() : 0)); |
} |
} |