| 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 83e913c1cda36c0faedecbcbe96c51febe5a3975..2e6a3a947b74e672e2060538bfcee6a1097bc810 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"
|
| @@ -1478,10 +1477,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;
|
|
|