| Index: tools/gn/output_file.cc
|
| diff --git a/tools/gn/output_file.cc b/tools/gn/output_file.cc
|
| index 1b6db62298bebcac2c7f33fb88cb4a56e7293d08..12845fbfaadf0739125049be427da23cc6a50f12 100644
|
| --- a/tools/gn/output_file.cc
|
| +++ b/tools/gn/output_file.cc
|
| @@ -10,8 +10,12 @@
|
| OutputFile::OutputFile() : value_() {
|
| }
|
|
|
| -OutputFile::OutputFile(const base::StringPiece& str)
|
| - : value_(str.data(), str.size()) {
|
| +OutputFile::OutputFile(std::string&& v)
|
| + : value_(v) {
|
| +}
|
| +
|
| +OutputFile::OutputFile(const std::string& v)
|
| + : value_(v) {
|
| }
|
|
|
| OutputFile::OutputFile(const BuildSettings* build_settings,
|
|
|