Index: tools/gn/builder_record.h |
diff --git a/tools/gn/builder_record.h b/tools/gn/builder_record.h |
index 0940cc8b1c127cf0504eb7224e6c0f2aa5df28fd..469b1cffd3c5cb57cfc356f56413448c069174c6 100644 |
--- a/tools/gn/builder_record.h |
+++ b/tools/gn/builder_record.h |
@@ -6,6 +6,7 @@ |
#define TOOLS_GN_BUILDER_RECORD_H_ |
#include <set> |
+#include <utility> |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
@@ -54,7 +55,7 @@ class BuilderRecord { |
Item* item() { return item_.get(); } |
const Item* item() const { return item_.get(); } |
- void set_item(scoped_ptr<Item> item) { item_ = item.Pass(); } |
+ void set_item(scoped_ptr<Item> item) { item_ = std::move(item); } |
// Indicates from where this item was originally referenced from that caused |
// it to be loaded. For targets for which we encountered the declaration |