| Index: tools/gn/import_manager.h
|
| diff --git a/tools/gn/import_manager.h b/tools/gn/import_manager.h
|
| index 70aeee727c507b771c0b4090af5f273e4717ca14..bd47a2ad519989ce6ff93087b60069ea54b200f5 100644
|
| --- a/tools/gn/import_manager.h
|
| +++ b/tools/gn/import_manager.h
|
| @@ -6,6 +6,7 @@
|
| #define TOOLS_GN_IMPORT_MANAGER_H_
|
|
|
| #include <map>
|
| +#include <memory>
|
|
|
| #include "base/macros.h"
|
| #include "base/synchronization/lock.h"
|
| @@ -33,7 +34,7 @@ class ImportManager {
|
| base::Lock lock_;
|
|
|
| // Owning pointers to the scopes.
|
| - typedef std::map<SourceFile, const Scope*> ImportMap;
|
| + typedef std::map<SourceFile, std::unique_ptr<const Scope>> ImportMap;
|
| ImportMap imports_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ImportManager);
|
|
|