Index: components/filesystem/files_test_base.cc |
diff --git a/components/filesystem/files_test_base.cc b/components/filesystem/files_test_base.cc |
index b9d39dca08e135e48917d778c5e3f19f5012353b..bbe052a3aa6342adba91b05d3c91c93d9de58575 100644 |
--- a/components/filesystem/files_test_base.cc |
+++ b/components/filesystem/files_test_base.cc |
@@ -27,7 +27,7 @@ void FilesTestBase::SetUp() { |
void FilesTestBase::GetTemporaryRoot(DirectoryPtr* directory) { |
Error error = ERROR_INTERNAL; |
files()->OpenFileSystem(nullptr, GetProxy(directory), Capture(&error)); |
- ASSERT_TRUE(files().WaitForIncomingMethodCall()); |
+ ASSERT_TRUE(files().WaitForIncomingResponse()); |
ASSERT_EQ(ERROR_OK, error); |
} |