Index: sql/mojo/vfs_unittest.cc |
diff --git a/sql/mojo/vfs_unittest.cc b/sql/mojo/vfs_unittest.cc |
index e53ea11cf75c2160666af614457251dacd6de430..a6a87c4650c2afdbc688df2b8f4391b126f3f0bc 100644 |
--- a/sql/mojo/vfs_unittest.cc |
+++ b/sql/mojo/vfs_unittest.cc |
@@ -55,12 +55,10 @@ class VFSTest : public mojo::test::ApplicationTestBase, |
application_impl()->ConnectToService("mojo:filesystem", &files_); |
- filesystem::FileSystemClientPtr client; |
- binding_.Bind(GetProxy(&client)); |
- |
filesystem::FileError error = filesystem::FileError::FAILED; |
filesystem::DirectoryPtr directory; |
- files_->OpenFileSystem("temp", GetProxy(&directory), std::move(client), |
+ files_->OpenFileSystem("temp", GetProxy(&directory), |
+ binding_.CreateInterfacePtrAndBind(), |
mojo::Capture(&error)); |
ASSERT_TRUE(files_.WaitForIncomingResponse()); |
ASSERT_EQ(filesystem::FileError::OK, error); |