Index: content/shell/renderer/layout_test/blink_test_runner.cc |
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc |
index 8e04816bc786ab8ddf5a7674d0119bf7bb314d60..184679565c30569a3a0a269418578c93514d938c 100644 |
--- a/content/shell/renderer/layout_test/blink_test_runner.cc |
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc |
@@ -33,6 +33,7 @@ |
#include "components/plugins/renderer/plugin_placeholder.h" |
#include "content/common/content_switches_internal.h" |
#include "content/public/common/content_switches.h" |
+#include "content/public/common/service_names.mojom.h" |
#include "content/public/common/url_constants.h" |
#include "content/public/common/web_preferences.h" |
#include "content/public/renderer/media_stream_utils.h" |
@@ -60,7 +61,7 @@ |
#include "media/media_features.h" |
#include "net/base/filename_util.h" |
#include "net/base/net_errors.h" |
-#include "services/service_manager/public/cpp/interface_provider.h" |
+#include "services/service_manager/public/cpp/connector.h" |
#include "services/service_manager/public/cpp/interface_registry.h" |
#include "skia/ext/platform_canvas.h" |
#include "third_party/WebKit/public/platform/FilePathConversion.h" |
@@ -944,7 +945,8 @@ void BlinkTestRunner::CaptureDumpComplete() { |
mojom::LayoutTestBluetoothFakeAdapterSetter& |
BlinkTestRunner::GetBluetoothFakeAdapterSetter() { |
if (!bluetooth_fake_adapter_setter_) { |
- RenderThread::Get()->GetRemoteInterfaces()->GetInterface( |
+ RenderThread::Get()->GetConnector()->BindInterface( |
+ mojom::kBrowserServiceName, |
mojo::MakeRequest(&bluetooth_fake_adapter_setter_)); |
} |
return *bluetooth_fake_adapter_setter_; |