Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index bdb9f83799b35ebb9e31f8519a1466cb35af12bf..cbce88c00b761e25ad4dd8b52a867c29e57e5114 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -158,6 +158,7 @@ |
#include "modules/audio_output_devices/AudioOutputDeviceClient.h" |
#include "modules/bluetooth/BluetoothSupplement.h" |
#include "modules/geolocation/GeolocationController.h" |
+#include "modules/installedapp/InstalledAppController.h" |
#include "modules/notifications/NotificationPermissionClient.h" |
#include "modules/permissions/PermissionController.h" |
#include "modules/presentation/PresentationController.h" |
@@ -1567,6 +1568,9 @@ void WebLocalFrameImpl::setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame> frame) |
ScreenWakeLock::provideTo(*m_frame, m_client ? m_client->wakeLockClient() : nullptr); |
if (RuntimeEnabledFeatures::audioOutputDevicesEnabled()) |
provideAudioOutputDeviceClientTo(*m_frame, AudioOutputDeviceClientImpl::create()); |
+ if (RuntimeEnabledFeatures::installedAppEnabled()) { |
+ InstalledAppController::provideTo(*m_frame, m_client ? m_client->installedAppClient() : nullptr); |
+ } |
} |
} |