Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index 4d6ff29c55f90458d85c590890f1e3b49e259e77..d4bdfa9874ff922673a902cd98814f0a57104c6a 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -162,6 +162,7 @@ |
#include "modules/push_messaging/PushController.h" |
#include "modules/screen_orientation/ScreenOrientationController.h" |
#include "modules/vr/VRController.h" |
+#include "modules/webusb/USBController.h" |
#include "platform/ScriptForbiddenScope.h" |
#include "platform/TraceEvent.h" |
#include "platform/UserGestureIndicator.h" |
@@ -1716,6 +1717,8 @@ void WebLocalFrameImpl::setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame> frame) |
PresentationController::provideTo(*m_frame, m_client ? m_client->presentationClient() : nullptr); |
if (RuntimeEnabledFeatures::permissionsEnabled()) |
PermissionController::provideTo(*m_frame, m_client ? m_client->permissionClient() : nullptr); |
+ if (RuntimeEnabledFeatures::webUSBEnabled()) |
+ USBController::provideTo(*m_frame, m_client ? m_client->usbClient() : nullptr); |
if (RuntimeEnabledFeatures::webVREnabled()) |
VRController::provideTo(*m_frame, m_client ? m_client->webVRClient() : nullptr); |
} |