Index: cc/surfaces/surface_factory.h |
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h |
index c83fa32a652fc1f9ed09bdb50e090cf2d16b8cf4..0e812de5e2301c51af8e473b77167f8a00f909dd 100644 |
--- a/cc/surfaces/surface_factory.h |
+++ b/cc/surfaces/surface_factory.h |
@@ -76,8 +76,9 @@ class CC_SURFACES_EXPORT SurfaceFactory |
bool needs_sync_points_; |
- 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); |
}; |