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 e8861f95dae46c53e73d9a10c6d6ef7bf67293f6..ec87da79ce41b1e4c411dd102238df9ebc1efbd7 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -166,7 +166,6 @@ |
#include "modules/screen_orientation/ScreenOrientationController.h" |
#include "modules/vr/VRController.h" |
#include "modules/wake_lock/ScreenWakeLock.h" |
-#include "modules/webusb/USBController.h" |
#include "platform/ScriptForbiddenScope.h" |
#include "platform/TraceEvent.h" |
#include "platform/UserGestureIndicator.h" |
@@ -1479,10 +1478,6 @@ void WebLocalFrameImpl::setCoreFrame(LocalFrame* frame) |
provideLocalFileSystemTo(*m_frame, LocalFileSystemClient::create()); |
provideNavigatorContentUtilsTo(*m_frame, NavigatorContentUtilsClientImpl::create(this)); |
- // Always provided so that availability of the API can be controlled by |
- // OriginTrials::webUSBEnabled(). |
- USBController::provideTo(*m_frame, m_client ? m_client->usbClient() : nullptr); |
- |
bool enableWebBluetooth = RuntimeEnabledFeatures::webBluetoothEnabled(); |
#if OS(CHROMEOS) || OS(ANDROID) |
enableWebBluetooth = true; |