Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 5f302031d8c2a5b180ae036bb357dd666520d736..16bdae5aa2b522a933d643c99de6ef31bb365c6c 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -118,6 +118,7 @@ |
#include "core/rendering/TextAutosizer.h" |
#include "core/rendering/compositing/RenderLayerCompositor.h" |
#include "modules/device_orientation/DeviceOrientationInspectorAgent.h" |
+#include "modules/encryptedmedia/MediaKeysController.h" |
#include "modules/geolocation/GeolocationController.h" |
#include "modules/indexeddb/InspectorIndexedDBAgent.h" |
#include "modules/notifications/NotificationController.h" |
@@ -388,6 +389,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client) |
m_page = adoptPtr(new Page(pageClients)); |
provideUserMediaTo(*m_page, &m_userMediaClientImpl); |
+ MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl); |
provideMIDITo(*m_page, m_midiClientProxy.get()); |
#if ENABLE(INPUT_SPEECH) |
provideSpeechInputTo(*m_page, m_speechInputClient.get()); |