| Index: tools/gn/input_file_manager.cc
|
| diff --git a/tools/gn/input_file_manager.cc b/tools/gn/input_file_manager.cc
|
| index b90a9f1bb2f38224423dbabb57c760f6810491d0..de841010191f6492268e2c947dd689b01dcced15 100644
|
| --- a/tools/gn/input_file_manager.cc
|
| +++ b/tools/gn/input_file_manager.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "tools/gn/input_file_manager.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/bind.h"
|
| #include "base/stl_util.h"
|
| #include "tools/gn/filesystem_utils.h"
|
| @@ -287,7 +289,7 @@ bool InputFileManager::LoadFile(const LocationRange& origin,
|
| data->loaded = true;
|
| if (success) {
|
| data->tokens.swap(tokens);
|
| - data->parsed_root = root.Pass();
|
| + data->parsed_root = std::move(root);
|
| } else {
|
| data->parse_error = *err;
|
| }
|
|
|