Index: tools/gn/loader_unittest.cc |
diff --git a/tools/gn/loader_unittest.cc b/tools/gn/loader_unittest.cc |
index 914e47535a0faf7db66b0ee47ea4a56db57c3e37..6496eaaa61ee7aa41e8da43254bd6c9aeb524164 100644 |
--- a/tools/gn/loader_unittest.cc |
+++ b/tools/gn/loader_unittest.cc |
@@ -78,7 +78,7 @@ void MockInputFileManager::AddCannedResponse(const SourceFile& source_file, |
EXPECT_FALSE(err.has_error()); |
// Parse. |
- canned->root = Parser::Parse(canned->tokens, &err).Pass(); |
+ canned->root = Parser::Parse(canned->tokens, &err); |
EXPECT_FALSE(err.has_error()); |
canned_responses_[source_file] = std::move(canned); |