Chromium Code Reviews| Index: base/id_map.h |
| diff --git a/base/id_map.h b/base/id_map.h |
| index 27098d29768404f6bae9b87372cf3ef03c857cb6..9cbc1f8978fa8836b770f8370ff3b2a3f44e2017 100644 |
| --- a/base/id_map.h |
| +++ b/base/id_map.h |
| @@ -32,8 +32,10 @@ enum IDMapOwnershipSemantics { |
| // ownership semantics are set to own because pointers will leak. |
| template<typename T, IDMapOwnershipSemantics OS = IDMapExternalPointer> |
| class IDMap : public base::NonThreadSafe { |
| - private: |
| + public: |
| typedef int32 KeyType; |
| + |
| + private: |
| typedef base::hash_map<KeyType, T*> HashTable; |
| public: |