Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index 5b5a0f617c4929612aa3251b00489b13afa4242f..7614b8942af42bb6ba9422508d1ef3758d0698f0 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -15,7 +15,7 @@ |
#include "components/test_runner/test_common.h" |
#include "components/test_runner/web_frame_test_proxy.h" |
#include "components/test_runner/web_test_proxy.h" |
-#include "content/browser/bluetooth/bluetooth_dispatcher_host.h" |
+#include "content/browser/bluetooth/bluetooth_adapter_factory_wrapper.h" |
#include "content/browser/renderer_host/render_process_host_impl.h" |
#include "content/browser/renderer_host/render_widget_host_impl.h" |
#include "content/child/geofencing/web_geofencing_provider_impl.h" |
@@ -360,11 +360,11 @@ void SetBluetoothAdapter(int render_process_id, |
static_cast<RenderProcessHostImpl*>( |
RenderProcessHost::FromID(render_process_id)); |
- BluetoothDispatcherHost* dispatcher_host = |
- render_process_host_impl->GetBluetoothDispatcherHost(); |
+ BluetoothAdapterFactoryWrapper* wrapper = |
+ render_process_host_impl->GetBluetoothAdapterFactoryWrapper(); |
- if (dispatcher_host != NULL) |
- dispatcher_host->SetBluetoothAdapterForTesting(std::move(adapter)); |
+ if (wrapper != nullptr) |
+ wrapper->SetBluetoothAdapterForTesting(std::move(adapter)); |
} |
void SetGeofencingMockProvider(bool service_available) { |