| Index: content/public/test/browser_test_base.cc
|
| diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc
|
| index c95feb56f0cac3f93f875e048dc877333f0a6122..e956f2d6b0c002423d133e1a82675f7991768319 100644
|
| --- a/content/public/test/browser_test_base.cc
|
| +++ b/content/public/test/browser_test_base.cc
|
| @@ -34,6 +34,7 @@
|
| #include "content/public/test/test_launcher.h"
|
| #include "content/public/test/test_utils.h"
|
| #include "content/test/content_browser_sanity_checker.h"
|
| +#include "mojo/public/cpp/bindings/sync_call_restrictions.h"
|
| #include "net/dns/mock_host_resolver.h"
|
| #include "net/test/embedded_test_server/embedded_test_server.h"
|
| #include "services/service_manager/public/cpp/connector.h"
|
| @@ -408,6 +409,7 @@ void BrowserTestBase::InitializeNetworkProcess() {
|
| mojom::NetworkServiceTestPtr network_service_test;
|
| ServiceManagerConnection::GetForProcess()->GetConnector()->BindInterface(
|
| mojom::kNetworkServiceName, &network_service_test);
|
| + mojo::SyncCallRestrictions::ScopedAllowSyncCall allow_sync_call;
|
| network_service_test->AddRules(std::move(mojo_rules));
|
| }
|
|
|
|
|