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 232f3c593beb414be2093ec2270a1dda1909f84b..a7c7d90c1c481de0e6ab2c1fcd8897fa6b420736 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1473,8 +1473,13 @@ void WebLocalFrameImpl::setCoreFrame(LocalFrame* frame) |
provideLocalFileSystemTo(*m_frame, LocalFileSystemClient::create()); |
provideNavigatorContentUtilsTo(*m_frame, NavigatorContentUtilsClientImpl::create(this)); |
- if (RuntimeEnabledFeatures::webBluetoothEnabled()) |
+ bool enableWebBluetooth = RuntimeEnabledFeatures::webBluetoothEnabled(); |
+#if OS(CHROMEOS) || OS(ANDROID) || OS(MACOSX) |
+ enableWebBluetooth = true; |
+#endif |
+ if (enableWebBluetooth) |
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()) |