| 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 25425570f0e9857587af895059060156d6912554..3ecacd1d1af74463128bf84e353a371926949a7a 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
|
| @@ -68,12 +68,20 @@ void LayoutTestContentBrowserClient::RenderProcessWillLaunch(
|
| partition->GetQuotaManager(),
|
| partition->GetURLRequestContext()));
|
|
|
| - host->GetInterfaceRegistry()->AddInterface(base::Bind(
|
| - &LayoutTestBluetoothFakeAdapterSetterImpl::Create));
|
| -
|
| host->Send(new ShellViewMsg_SetWebKitSourceDir(GetWebKitRootDirFilePath()));
|
| }
|
|
|
| +void LayoutTestContentBrowserClient::ExposeInterfacesToRenderer(
|
| + shell::InterfaceRegistry* registry,
|
| + RenderProcessHost* render_process_host) {
|
| + scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner =
|
| + content::BrowserThread::GetTaskRunnerForThread(
|
| + content::BrowserThread::UI);
|
| + registry->AddInterface(
|
| + base::Bind(&LayoutTestBluetoothFakeAdapterSetterImpl::Create),
|
| + ui_task_runner);
|
| +}
|
| +
|
| void LayoutTestContentBrowserClient::OverrideWebkitPrefs(
|
| RenderViewHost* render_view_host,
|
| WebPreferences* prefs) {
|
|
|