Index: tools/gn/parse_tree_unittest.cc |
diff --git a/tools/gn/parse_tree_unittest.cc b/tools/gn/parse_tree_unittest.cc |
index bf6c7161950b28dc0c3aac7ab30e58c2b7d71524..b46114f5ade7014c9bd39e37f8cc7a77b2fc8865 100644 |
--- a/tools/gn/parse_tree_unittest.cc |
+++ b/tools/gn/parse_tree_unittest.cc |
@@ -2,11 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "tools/gn/parse_tree.h" |
+ |
#include <stdint.h> |
+#include <utility> |
#include "testing/gtest/include/gtest/gtest.h" |
#include "tools/gn/input_file.h" |
-#include "tools/gn/parse_tree.h" |
#include "tools/gn/scope.h" |
#include "tools/gn/test_with_scope.h" |
@@ -24,7 +26,7 @@ TEST(ParseTree, Accessor) { |
scoped_ptr<IdentifierNode> member_identifier( |
new IdentifierNode(member_token)); |
- accessor.set_member(member_identifier.Pass()); |
+ accessor.set_member(std::move(member_identifier)); |
// The access should fail because a is not defined. |
Err err; |