Index: tools/gn/scope.cc |
diff --git a/tools/gn/scope.cc b/tools/gn/scope.cc |
index 37ddbddb11a35fb08d32edb8a036c8f4cfe87dd3..2bf9dd467da7903b5ff4a874915d5f1481429fea 100644 |
--- a/tools/gn/scope.cc |
+++ b/tools/gn/scope.cc |
@@ -377,7 +377,7 @@ scoped_ptr<Scope> Scope::MakeClosure() const { |
NonRecursiveMergeTo(result.get(), options, nullptr, "<SHOULDN'T HAPPEN>", |
&err); |
DCHECK(!err.has_error()); |
- return result.Pass(); |
+ return result; |
} |
Scope* Scope::MakeTargetDefaults(const std::string& target_type) { |