Index: cc/surfaces/surface_factory.h |
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h |
index b6b627fb28ae3a202771e0d34557181d121f45d4..afc0b8133df15b8d9a22e59d5727e9a567942ce9 100644 |
--- a/cc/surfaces/surface_factory.h |
+++ b/cc/surfaces/surface_factory.h |
@@ -68,8 +68,8 @@ class CC_SURFACES_EXPORT SurfaceFactory |
SurfaceFactoryClient* client_; |
SurfaceResourceHolder holder_; |
- typedef base::ScopedPtrHashMap<SurfaceId, Surface> OwningSurfaceMap; |
- base::ScopedPtrHashMap<SurfaceId, Surface> surface_map_; |
+ typedef base::ScopedPtrHashMap<SurfaceId, scoped_ptr<Surface>> OwningSurfaceMap; |
+ OwningSurfaceMap surface_map_; |
DISALLOW_COPY_AND_ASSIGN(SurfaceFactory); |
}; |