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 b18c2cff14da172053e7338921c9c886f71464b5..c4167f94fa6cc301bba589dbc55590975246c592 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1476,14 +1476,8 @@ void WebLocalFrameImpl::setCoreFrame(LocalFrame* frame) |
provideLocalFileSystemTo(*m_frame, LocalFileSystemClient::create()); |
provideNavigatorContentUtilsTo(*m_frame, NavigatorContentUtilsClientImpl::create(this)); |
- bool enableWebBluetooth = RuntimeEnabledFeatures::webBluetoothEnabled(); |
-#if OS(CHROMEOS) || OS(ANDROID) |
- enableWebBluetooth = true; |
-#endif |
- |
- if (enableWebBluetooth) |
+ if (RuntimeEnabledFeatures::webBluetoothEnabled()) |
BluetoothSupplement::provideTo(*m_frame, m_client ? m_client->bluetooth() : nullptr); |
- |
if (RuntimeEnabledFeatures::screenOrientationEnabled()) |
ScreenOrientationController::provideTo(*m_frame, m_client ? m_client->webScreenOrientationClient() : nullptr); |
if (RuntimeEnabledFeatures::presentationEnabled()) |