Index: content/browser/mojo_sandbox_browsertest.cc |
diff --git a/content/browser/mojo_sandbox_browsertest.cc b/content/browser/mojo_sandbox_browsertest.cc |
index f3eddd9ad57eb1a230d70278e5d0217a283b0b62..fa3ff47f43f56a467f3a9f3cc49f172a5a0213fc 100644 |
--- a/content/browser/mojo_sandbox_browsertest.cc |
+++ b/content/browser/mojo_sandbox_browsertest.cc |
@@ -63,7 +63,7 @@ IN_PROC_BROWSER_TEST_F(MojoSandboxTest, SubprocessSharedBuffer) { |
// Ensures that a shared buffer can be created within a sandboxed process. |
mojom::TestServicePtr test_service; |
- host_->GetRemoteInterfaces()->GetInterface(&test_service); |
+ BindInterface(host_.get(), &test_service); |
bool got_response = false; |
base::RunLoop run_loop; |