| Index: tools/gn/scope.h
|
| diff --git a/tools/gn/scope.h b/tools/gn/scope.h
|
| index 2554366a90a37e39876cc9895b8bffb99fa24454..96b3939a15de5d0e55604ac2880654c4b0495373 100644
|
| --- a/tools/gn/scope.h
|
| +++ b/tools/gn/scope.h
|
| @@ -40,7 +40,8 @@ class Template;
|
| // variables. So you should use a non-const containing scope whenever possible.
|
| class Scope {
|
| public:
|
| - typedef base::hash_map<base::StringPiece, Value> KeyValueMap;
|
| + typedef base::hash_map<base::StringPiece, Value, base::StringPieceHash>
|
| + KeyValueMap;
|
| // Holds an owning list of Items.
|
| typedef ScopedVector<Item> ItemVector;
|
|
|
| @@ -329,7 +330,8 @@ class Scope {
|
| // for more.
|
| unsigned mode_flags_;
|
|
|
| - typedef base::hash_map<base::StringPiece, Record> RecordMap;
|
| + typedef base::hash_map<base::StringPiece, Record, base::StringPieceHash>
|
| + RecordMap;
|
| RecordMap values_;
|
|
|
| // Owning pointers. Note that this can't use string pieces since the names
|
|
|