Index: content/shell/browser/layout_test/layout_test_content_browser_client.cc |
diff --git a/content/shell/browser/layout_test/layout_test_content_browser_client.cc b/content/shell/browser/layout_test/layout_test_content_browser_client.cc |
index a1fac6641d92dfd8199eef3d33d63a279015fb42..e2b93fd3895028e0b92776964d325849aa049097 100644 |
--- a/content/shell/browser/layout_test/layout_test_content_browser_client.cc |
+++ b/content/shell/browser/layout_test/layout_test_content_browser_client.cc |
@@ -22,6 +22,7 @@ |
#include "content/shell/common/layout_test/layout_test_switches.h" |
#include "content/shell/common/shell_messages.h" |
#include "content/shell/renderer/layout_test/blink_test_helpers.h" |
+#include "services/shell/public/cpp/interface_registry.h" |
namespace content { |
namespace { |
@@ -68,7 +69,7 @@ void LayoutTestContentBrowserClient::RenderProcessWillLaunch( |
partition->GetQuotaManager(), |
partition->GetURLRequestContext())); |
- host->GetServiceRegistry()->AddService(base::Bind( |
+ host->GetInterfaceRegistry()->AddInterface(base::Bind( |
&LayoutTestBluetoothFakeAdapterSetterImpl::Create, host->GetID())); |
host->Send(new ShellViewMsg_SetWebKitSourceDir(GetWebKitRootDirFilePath())); |