Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 14006ce388f2c59fd6e83ec6256919e5f01b3bba..281284a77e8eb17733ff8a50bd514df274c77b7e 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -933,7 +933,8 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
message_port_message_filter_.get())); |
if (browser_command_line.HasSwitch( |
switches::kEnableExperimentalWebPlatformFeatures)) { |
- AddFilter(new BluetoothDispatcherHost()); |
+ bluetooth_dispatcher_host_ = new BluetoothDispatcherHost(); |
+ AddFilter(bluetooth_dispatcher_host_.get()); |
} |
} |
@@ -2464,4 +2465,8 @@ void RenderProcessHostImpl::GetAudioOutputControllers( |
audio_renderer_host()->GetOutputControllers(callback); |
} |
+BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
+ return bluetooth_dispatcher_host_.get(); |
+} |
+ |
} // namespace content |