Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: tools/gn/loader_unittest.cc

Issue 1544333002: Convert Pass()→std::move() in //tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/input_file_manager.cc ('k') | tools/gn/ninja_binary_target_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « tools/gn/input_file_manager.cc ('k') | tools/gn/ninja_binary_target_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698