Chromium Code Reviews| Index: cc/surfaces/surface_factory.h |
| diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h |
| index fdfad179059d3eb1ea4e55b36d588a2f025b9994..adaab4b92e7b8727484e7168fe4bf6bfe02faffc 100644 |
| --- a/cc/surfaces/surface_factory.h |
| +++ b/cc/surfaces/surface_factory.h |
| @@ -6,6 +6,7 @@ |
| #define CC_SURFACES_SURFACE_FACTORY_H_ |
| #include <set> |
| +#include <unordered_map> |
| #include "base/callback_forward.h" |
| #include "base/containers/scoped_ptr_hash_map.h" |
| @@ -85,7 +86,7 @@ class CC_SURFACES_EXPORT SurfaceFactory |
| bool needs_sync_points_; |
| - typedef base::ScopedPtrHashMap<SurfaceId, scoped_ptr<Surface>> |
| + typedef std::unordered_map<SurfaceId, scoped_ptr<Surface>, SurfaceIdHash> |
|
danakj
2016/01/26 23:53:32
can you switch this to "using" instead of "typedef
lfg
2016/01/27 00:53:14
Done.
|
| OwningSurfaceMap; |
| OwningSurfaceMap surface_map_; |